POST api/Order/Revoke
Request Information
URI Parameters
None.
Body Parameters
OrderRevokeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| qrOrderContent | string |
None. |
|
| idOrder | integer |
None. |
|
| orderNumber | string |
None. |
|
| isCreator | boolean |
None. |
|
| isTransporter | boolean |
None. |
|
| qrPicType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"qrOrderContent": "sample string 1",
"idOrder": 1,
"orderNumber": "sample string 2",
"isCreator": true,
"isTransporter": true,
"qrPicType": "sample string 3"
}
application/xml, text/xml
Sample:
<OrderRevokeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Order.Model"> <QrPicType xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 3</QrPicType> <IsCreator>true</IsCreator> <IsTransporter>true</IsTransporter> <QrOrderContent>sample string 1</QrOrderContent> </OrderRevokeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OrderRevokeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| mesasge | string |
None. |
|
| isSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"mesasge": "sample string 1",
"isSuccess": true
}
application/xml, text/xml
Sample:
<OrderRevokeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Order.Model"> <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">true</IsSuccess> <Mesasge xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 1</Mesasge> </OrderRevokeResponse>