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": "e6e7653e-8d7c-4ce5-8871-0ea1147158d5",
"Package_IDs": [
"06cabb9e-43c5-45e5-8953-10d0c97631bd",
"15023eb8-72fa-49b1-84a7-e13e5cb640c2"
]
}
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>06cabb9e-43c5-45e5-8953-10d0c97631bd</d2p1:guid>
<d2p1:guid>15023eb8-72fa-49b1-84a7-e13e5cb640c2</d2p1:guid>
</Package_IDs>
<Shipment_ID>e6e7653e-8d7c-4ce5-8871-0ea1147158d5</Shipment_ID>
</AddToShipmentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Shipment_ID":"e6e7653e-8d7c-4ce5-8871-0ea1147158d5","Package_IDs":["06cabb9e-43c5-45e5-8953-10d0c97631bd","15023eb8-72fa-49b1-84a7-e13e5cb640c2"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.