POST api/Order/AddShipment
Request Information
URI Parameters
None.
Body Parameters
Shipment| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | string |
None. |
|
| CarrierName | string |
None. |
|
| TrackingNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": "sample string 1",
"CarrierName": "sample string 2",
"TrackingNumber": "sample string 3"
}
application/xml, text/xml
Sample:
<Shipment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oRouter.ViewModel"> <CarrierName>sample string 2</CarrierName> <OrderID>sample string 1</OrderID> <TrackingNumber>sample string 3</TrackingNumber> </Shipment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResultVM| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<UpdateResultVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oRouter.ViewModel"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> </UpdateResultVM>