POST api/PickupAndDelivery/Cargo/AddToPickupAndDelivery

Request Information

URI Parameters

None.

Body Parameters

AddToPickupAndDeliveryInputModel
NameDescriptionTypeAdditional information
PickupAndDelivery_ID

globally unique identifier

None.

Package_IDs

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "PickupAndDelivery_ID": "9b9770fd-379a-44f1-a1b9-a68a5418a3a2",
  "Package_IDs": [
    "9371e287-b944-4b6d-82b1-7276e19baf5f",
    "6f88289c-7461-4083-bc29-ec4531caf215"
  ]
}

application/xml, text/xml

Sample:
<AddToPickupAndDeliveryInputModel 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>9371e287-b944-4b6d-82b1-7276e19baf5f</d2p1:guid>
    <d2p1:guid>6f88289c-7461-4083-bc29-ec4531caf215</d2p1:guid>
  </Package_IDs>
  <PickupAndDelivery_ID>9b9770fd-379a-44f1-a1b9-a68a5418a3a2</PickupAndDelivery_ID>
</AddToPickupAndDeliveryInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"PickupAndDelivery_ID":"9b9770fd-379a-44f1-a1b9-a68a5418a3a2","Package_IDs":["9371e287-b944-4b6d-82b1-7276e19baf5f","6f88289c-7461-4083-bc29-ec4531caf215"]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.