POST NewOrder
Request Information
URI Parameters
None.
Body Parameters
NewOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| UserInfo | UserData |
None. |
|
| town | string |
None. |
|
| customer | string |
None. |
|
| transport | string |
None. |
|
| remarks | string |
None. |
|
| total_amount | string |
None. |
|
| OrderDetail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserInfo": {
"UserId": "sample string 1",
"Token": "sample string 2",
"App_Key": "sample string 3"
},
"town": "sample string 1",
"customer": "sample string 2",
"transport": "sample string 3",
"remarks": "sample string 4",
"total_amount": "sample string 5",
"OrderDetail": "sample string 6"
}
application/xml, text/xml
Sample:
<NewOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices.Controllers">
<OrderDetail>sample string 6</OrderDetail>
<UserInfo>
<App_Key>sample string 3</App_Key>
<Token>sample string 2</Token>
<UserId>sample string 1</UserId>
</UserInfo>
<customer>sample string 2</customer>
<remarks>sample string 4</remarks>
<total_amount>sample string 5</total_amount>
<town>sample string 1</town>
<transport>sample string 3</transport>
</NewOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Response | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Response": "sample string 3"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileServices"> <Message>sample string 2</Message> <Response>sample string 3</Response> <Status>1</Status> </Result>