POST api/Shipments/Packages/AddToShipment
Request Information
URI Parameters
None.
Body Parameters
AddToShipmentInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Shipment_ID | globally unique identifier |
None. |
|
| Package_IDs | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Shipment_ID": "158f4225-300f-4b70-9053-453898a6e969",
"Package_IDs": [
"6def539d-fabd-4122-8aa1-3e4998747dd3",
"70129bca-ba0b-4ee7-878b-f79790a96c28"
]
}
application/xml, text/xml
Sample:
<AddToShipmentInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<Package_IDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6def539d-fabd-4122-8aa1-3e4998747dd3</d2p1:guid>
<d2p1:guid>70129bca-ba0b-4ee7-878b-f79790a96c28</d2p1:guid>
</Package_IDs>
<Shipment_ID>158f4225-300f-4b70-9053-453898a6e969</Shipment_ID>
</AddToShipmentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Shipment_ID":"158f4225-300f-4b70-9053-453898a6e969","Package_IDs":["6def539d-fabd-4122-8aa1-3e4998747dd3","70129bca-ba0b-4ee7-878b-f79790a96c28"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.