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": "74377e4d-cc8f-4dd1-a1e6-9def9052ad95",
"Package_IDs": [
"b2c69b36-dcc8-4d91-ac8a-cb30173d2539",
"f5f94fc5-731d-4b32-bfd1-85f80a7d1374"
]
}
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>b2c69b36-dcc8-4d91-ac8a-cb30173d2539</d2p1:guid>
<d2p1:guid>f5f94fc5-731d-4b32-bfd1-85f80a7d1374</d2p1:guid>
</Package_IDs>
<Shipment_ID>74377e4d-cc8f-4dd1-a1e6-9def9052ad95</Shipment_ID>
</AddToShipmentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Shipment_ID":"74377e4d-cc8f-4dd1-a1e6-9def9052ad95","Package_IDs":["b2c69b36-dcc8-4d91-ac8a-cb30173d2539","f5f94fc5-731d-4b32-bfd1-85f80a7d1374"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.