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": "3f2f9fae-d9a8-47e2-b818-54ed0dce37bd",
  "Package_IDs": [
    "451914f1-9077-4400-9188-98a8c82c3e67",
    "d21dfb24-dc5d-438c-8919-cdcc4cea158f"
  ]
}

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>451914f1-9077-4400-9188-98a8c82c3e67</d2p1:guid>
    <d2p1:guid>d21dfb24-dc5d-438c-8919-cdcc4cea158f</d2p1:guid>
  </Package_IDs>
  <PickupAndDelivery_ID>3f2f9fae-d9a8-47e2-b818-54ed0dce37bd</PickupAndDelivery_ID>
</AddToPickupAndDeliveryInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"PickupAndDelivery_ID":"3f2f9fae-d9a8-47e2-b818-54ed0dce37bd","Package_IDs":["451914f1-9077-4400-9188-98a8c82c3e67","d21dfb24-dc5d-438c-8919-cdcc4cea158f"]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.