POST api/SaleOrder/CancelOrderItem
Request Information
URI Parameters
None.
Body Parameters
InputSaleOrderInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderCode | string |
None. |
|
| AccessToken | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderCode": "sample string 1",
"AccessToken": "sample string 2"
}
application/xml, text/xml
Sample:
<InputSaleOrderInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Input.SaleOrder"> <AccessToken xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Input">sample string 2</AccessToken> <OrderCode>sample string 1</OrderCode> </InputSaleOrderInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InvokeResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Code": 3
}
application/xml, text/xml
Sample:
<InvokeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Result"> <Code>3</Code> <Message>sample string 2</Message> <Success>true</Success> </InvokeResult>