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": "b1a02d55-232b-4ddf-be61-04d9b7adcc15",
"Package_IDs": [
"81703a79-69d0-4ce3-9828-0bf35fe5a3b9",
"ac111b28-9508-4f76-9101-a790108a33b0"
]
}
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>81703a79-69d0-4ce3-9828-0bf35fe5a3b9</d2p1:guid>
<d2p1:guid>ac111b28-9508-4f76-9101-a790108a33b0</d2p1:guid>
</Package_IDs>
<Shipment_ID>b1a02d55-232b-4ddf-be61-04d9b7adcc15</Shipment_ID>
</AddToShipmentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Shipment_ID":"b1a02d55-232b-4ddf-be61-04d9b7adcc15","Package_IDs":["81703a79-69d0-4ce3-9828-0bf35fe5a3b9","ac111b28-9508-4f76-9101-a790108a33b0"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.