POST api/Order/AddShipments

Request Information

URI Parameters

None.

Body Parameters

Collection of Shipment
NameDescriptionTypeAdditional 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"
  },
  {
    "OrderID": "sample string 1",
    "CarrierName": "sample string 2",
    "TrackingNumber": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfShipment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oRouter.ViewModel">
  <Shipment>
    <CarrierName>sample string 2</CarrierName>
    <OrderID>sample string 1</OrderID>
    <TrackingNumber>sample string 3</TrackingNumber>
  </Shipment>
  <Shipment>
    <CarrierName>sample string 2</CarrierName>
    <OrderID>sample string 1</OrderID>
    <TrackingNumber>sample string 3</TrackingNumber>
  </Shipment>
</ArrayOfShipment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateResultVM
NameDescriptionTypeAdditional 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>