POST api/ship
Request Information
URI Parameters
None.
Body Parameters
ShipModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | integer |
None. |
|
| Shipped | boolean |
None. |
|
| Cost | decimal number |
None. |
|
| Items | Collection of ShipLineItem |
None. |
Request Formats
application/xml, text/xml
Sample:
<ShipModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OrderID>1</OrderID>
<Shipped>true</Shipped>
<Cost>3</Cost>
<Items>
<ShipLineItem>
<ItemNum>sample string 1</ItemNum>
<TrackingNum>sample string 2</TrackingNum>
<Weight>3</Weight>
<Cost>4</Cost>
</ShipLineItem>
</Items>
</ShipModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/xml, text/xml
Sample:
<string>sample string 1</string>