POST api/Shipments/Packages/AddToShipment

Request Information

URI Parameters

None.

Body Parameters

AddToShipmentInputModel
NameDescriptionTypeAdditional information
Shipment_ID

globally unique identifier

None.

Package_IDs

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Shipment_ID": "ceacb0aa-2085-4a7f-a3ac-77e403dfbffc",
  "Package_IDs": [
    "1bdfcb13-7b02-4717-bb12-e485c4471c28",
    "40db1fb4-5b31-4284-bb92-863c68b254d5"
  ]
}

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>1bdfcb13-7b02-4717-bb12-e485c4471c28</d2p1:guid>
    <d2p1:guid>40db1fb4-5b31-4284-bb92-863c68b254d5</d2p1:guid>
  </Package_IDs>
  <Shipment_ID>ceacb0aa-2085-4a7f-a3ac-77e403dfbffc</Shipment_ID>
</AddToShipmentInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Shipment_ID":"ceacb0aa-2085-4a7f-a3ac-77e403dfbffc","Package_IDs":["1bdfcb13-7b02-4717-bb12-e485c4471c28","40db1fb4-5b31-4284-bb92-863c68b254d5"]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.