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": "71da9e7a-0741-48bf-98f2-6fb49d8d956e",
  "Package_IDs": [
    "9af70afc-c676-44fa-b303-7acbe0f39e89",
    "bed59cc9-1a11-4785-9493-b2fb7c51f73c"
  ]
}

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>9af70afc-c676-44fa-b303-7acbe0f39e89</d2p1:guid>
    <d2p1:guid>bed59cc9-1a11-4785-9493-b2fb7c51f73c</d2p1:guid>
  </Package_IDs>
  <PickupAndDelivery_ID>71da9e7a-0741-48bf-98f2-6fb49d8d956e</PickupAndDelivery_ID>
</AddToPickupAndDeliveryInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"PickupAndDelivery_ID":"71da9e7a-0741-48bf-98f2-6fb49d8d956e","Package_IDs":["9af70afc-c676-44fa-b303-7acbe0f39e89","bed59cc9-1a11-4785-9493-b2fb7c51f73c"]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.