POST api/Shipments/Packages/AddToShipment
Request Information
URI Parameters
None.
Body Parameters
AddToShipmentInputModelName | 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": "b5595319-36c1-490e-982c-fdc95261609d", "Package_IDs": [ "ce12b822-da8c-452a-99b3-15b14cfbd48f", "6b270653-47f4-4ca3-aaa4-f742e6ebd279" ] }
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>ce12b822-da8c-452a-99b3-15b14cfbd48f</d2p1:guid> <d2p1:guid>6b270653-47f4-4ca3-aaa4-f742e6ebd279</d2p1:guid> </Package_IDs> <Shipment_ID>b5595319-36c1-490e-982c-fdc95261609d</Shipment_ID> </AddToShipmentInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Shipment_ID":"b5595319-36c1-490e-982c-fdc95261609d","Package_IDs":["ce12b822-da8c-452a-99b3-15b14cfbd48f","6b270653-47f4-4ca3-aaa4-f742e6ebd279"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.