POST api/Order/Insert
Request Information
URI Parameters
None.
Body Parameters
OrderInsertRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| orderNumber | string |
Required |
|
| orderJson | Collection of Object |
Required |
|
| qrTransportContent | string |
None. |
|
| qrPicType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"orderNumber": "sample string 1",
"orderJson": null,
"qrTransportContent": "sample string 2",
"qrPicType": "sample string 3"
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OrderInsertResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| idOrder | integer |
None. |
|
| qrOrderPic | Collection of byte |
None. |
|
| mesasge | string |
None. |
|
| isSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"idOrder": 1,
"qrOrderPic": "QEA=",
"mesasge": "sample string 2",
"isSuccess": true
}
application/xml, text/xml
Sample:
<OrderInsertResponse 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 2</Mesasge> <IdOrder>1</IdOrder> </OrderInsertResponse>