POST api/ICPayment/SaveICPayment
Request Information
URI Parameters
None.
Body Parameters
ReadDTOOfReadSaveICPayment| Name | Description | Type | Additional information |
|---|---|---|---|
| data | ReadSaveICPayment |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"data": {
"id": 1,
"i_customer_id": 2,
"tel": "sample string 3",
"payment_flag": 4,
"payment_money": 5.0,
"deduction_money": 6.0,
"type_money": 7.0,
"payment_flag_piction": "sample string 8",
"payment_piction": "sample string 9",
"remark": "sample string 10",
"UserId": 11,
"IC": "sample string 12",
"C_Payment_DeductionList": [
{
"id": 1,
"z_id": 2,
"deduction_id": 3,
"deduction_z_id": 4,
"IsDel": 5
},
{
"id": 1,
"z_id": 2,
"deduction_id": 3,
"deduction_z_id": 4,
"IsDel": 5
}
],
"C_Payment_DetailList": [
{
"id": 1,
"z_id": 2,
"indent_id": 3,
"indent_z_id": 4,
"payment_money": 5.0,
"paid_money": 6.0,
"remark": "sample string 7",
"out_id": 8,
"out_z_id": 9,
"pay_amount": 10.0
},
{
"id": 1,
"z_id": 2,
"indent_id": 3,
"indent_z_id": 4,
"payment_money": 5.0,
"paid_money": 6.0,
"remark": "sample string 7",
"out_id": 8,
"out_z_id": 9,
"pay_amount": 10.0
}
]
},
"PageSize": 1,
"PageIndex": 2
}
application/xml, text/xml
Sample:
<ReadDTOOfReadSaveICPaymentcc8wrA37 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models">
<PageIndex>2</PageIndex>
<PageSize>1</PageSize>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.ReadModels">
<d2p1:C_Payment_DeductionList>
<d2p1:C_Payment_Deduction>
<d2p1:IsDel>5</d2p1:IsDel>
<d2p1:deduction_id>3</d2p1:deduction_id>
<d2p1:deduction_z_id>4</d2p1:deduction_z_id>
<d2p1:id>1</d2p1:id>
<d2p1:z_id>2</d2p1:z_id>
</d2p1:C_Payment_Deduction>
<d2p1:C_Payment_Deduction>
<d2p1:IsDel>5</d2p1:IsDel>
<d2p1:deduction_id>3</d2p1:deduction_id>
<d2p1:deduction_z_id>4</d2p1:deduction_z_id>
<d2p1:id>1</d2p1:id>
<d2p1:z_id>2</d2p1:z_id>
</d2p1:C_Payment_Deduction>
</d2p1:C_Payment_DeductionList>
<d2p1:C_Payment_DetailList>
<d2p1:C_Payment_Detail>
<d2p1:id>1</d2p1:id>
<d2p1:indent_id>3</d2p1:indent_id>
<d2p1:indent_z_id>4</d2p1:indent_z_id>
<d2p1:out_id>8</d2p1:out_id>
<d2p1:out_z_id>9</d2p1:out_z_id>
<d2p1:paid_money>6</d2p1:paid_money>
<d2p1:pay_amount>10</d2p1:pay_amount>
<d2p1:payment_money>5</d2p1:payment_money>
<d2p1:remark>sample string 7</d2p1:remark>
<d2p1:z_id>2</d2p1:z_id>
</d2p1:C_Payment_Detail>
<d2p1:C_Payment_Detail>
<d2p1:id>1</d2p1:id>
<d2p1:indent_id>3</d2p1:indent_id>
<d2p1:indent_z_id>4</d2p1:indent_z_id>
<d2p1:out_id>8</d2p1:out_id>
<d2p1:out_z_id>9</d2p1:out_z_id>
<d2p1:paid_money>6</d2p1:paid_money>
<d2p1:pay_amount>10</d2p1:pay_amount>
<d2p1:payment_money>5</d2p1:payment_money>
<d2p1:remark>sample string 7</d2p1:remark>
<d2p1:z_id>2</d2p1:z_id>
</d2p1:C_Payment_Detail>
</d2p1:C_Payment_DetailList>
<d2p1:IC>sample string 12</d2p1:IC>
<d2p1:UserId>11</d2p1:UserId>
<d2p1:deduction_money>6</d2p1:deduction_money>
<d2p1:i_customer_id>2</d2p1:i_customer_id>
<d2p1:id>1</d2p1:id>
<d2p1:payment_flag>4</d2p1:payment_flag>
<d2p1:payment_flag_piction>sample string 8</d2p1:payment_flag_piction>
<d2p1:payment_money>5</d2p1:payment_money>
<d2p1:payment_piction>sample string 9</d2p1:payment_piction>
<d2p1:remark>sample string 10</d2p1:remark>
<d2p1:tel>sample string 3</d2p1:tel>
<d2p1:type_money>7</d2p1:type_money>
</data>
</ReadDTOOfReadSaveICPaymentcc8wrA37>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultDTOOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| data | Object |
None. |
|
| msg | string |
None. |
|
| Exception | Object |
None. |
|
| Exception1 | Object |
None. |
|
| count | integer |
None. |
|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"data": {},
"msg": "sample string 3",
"Exception": {},
"Exception1": {},
"count": 6,
"PageSize": 7,
"PageIndex": 8
}
application/xml, text/xml
Sample:
<ResultDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YZ_TradingPlatform_API.Models"> <Exception /> <Exception1 /> <PageIndex>8</PageIndex> <PageSize>7</PageSize> <code>1</code> <count>6</count> <data /> <msg>sample string 3</msg> </ResultDTOOfanyType>