POST api/Base/PCSettlement
Request Information
URI Parameters
None.
Body Parameters
SettlementModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerGUID | string |
None. |
|
| Amount | decimal number |
None. |
|
| Note | string |
None. |
|
| AddressID | integer |
None. |
|
| Postage | integer |
None. |
|
| Drawee | string |
None. |
|
| BillTpye | string |
None. |
|
| GoodsDetail | Collection of GoodsDetailModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"GoodsDetail": [
{
"GUID": "sample string 1",
"Price": 2.0,
"Num": 3
},
{
"GUID": "sample string 1",
"Price": 2.0,
"Num": 3
}
],
"CustomerGUID": "sample string 1",
"Amount": 2.0,
"Note": "sample string 3",
"AddressID": 4,
"Postage": 5,
"Drawee": "sample string 6",
"BillTpye": "sample string 7"
}
application/xml, text/xml
Sample:
<SettlementModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XRKData">
<AddressID>4</AddressID>
<Amount>2</Amount>
<BillTpye>sample string 7</BillTpye>
<CustomerGUID>sample string 1</CustomerGUID>
<Drawee>sample string 6</Drawee>
<GoodsDetail>
<GoodsDetailModel>
<GUID>sample string 1</GUID>
<Num>3</Num>
<Price>2</Price>
</GoodsDetailModel>
<GoodsDetailModel>
<GUID>sample string 1</GUID>
<Num>3</Num>
<Price>2</Price>
</GoodsDetailModel>
</GoodsDetail>
<Note>sample string 3</Note>
<Postage>5</Postage>
</SettlementModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |