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": "f3683b7d-9b24-45ac-9261-6d1bfbbadd87",
  "Package_IDs": [
    "925411c6-474f-4fb8-a4ee-12dd1cfe6a13",
    "fe1b5ac7-e329-4540-8216-c29ff0bc2499"
  ]
}

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>925411c6-474f-4fb8-a4ee-12dd1cfe6a13</d2p1:guid>
    <d2p1:guid>fe1b5ac7-e329-4540-8216-c29ff0bc2499</d2p1:guid>
  </Package_IDs>
  <Shipment_ID>f3683b7d-9b24-45ac-9261-6d1bfbbadd87</Shipment_ID>
</AddToShipmentInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Shipment_ID":"f3683b7d-9b24-45ac-9261-6d1bfbbadd87","Package_IDs":["925411c6-474f-4fb8-a4ee-12dd1cfe6a13","fe1b5ac7-e329-4540-8216-c29ff0bc2499"]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.