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": "8ffc7f53-fbac-4c74-962b-7dff7b8a83e4",
"Package_IDs": [
"79682166-75ee-4170-a68b-d980f0e4d6ce",
"cd314480-542e-4187-9475-24773c5ebd57"
]
}
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>79682166-75ee-4170-a68b-d980f0e4d6ce</d2p1:guid>
<d2p1:guid>cd314480-542e-4187-9475-24773c5ebd57</d2p1:guid>
</Package_IDs>
<Shipment_ID>8ffc7f53-fbac-4c74-962b-7dff7b8a83e4</Shipment_ID>
</AddToShipmentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Shipment_ID":"8ffc7f53-fbac-4c74-962b-7dff7b8a83e4","Package_IDs":["79682166-75ee-4170-a68b-d980f0e4d6ce","cd314480-542e-4187-9475-24773c5ebd57"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.