POST api/PickupAndDelivery/Cargo/AddToPickupAndDelivery
Request Information
URI Parameters
None.
Body Parameters
AddToPickupAndDeliveryInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PickupAndDelivery_ID | globally unique identifier |
None. |
|
| Package_IDs | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"PickupAndDelivery_ID": "1ec4aea0-a24e-4eb3-9cc7-c4019c6cbeca",
"Package_IDs": [
"30274c0f-638e-425b-a9b9-1f21bc79a1c4",
"a046f3bc-32cd-4253-a33d-f095b6f0f501"
]
}
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>30274c0f-638e-425b-a9b9-1f21bc79a1c4</d2p1:guid>
<d2p1:guid>a046f3bc-32cd-4253-a33d-f095b6f0f501</d2p1:guid>
</Package_IDs>
<PickupAndDelivery_ID>1ec4aea0-a24e-4eb3-9cc7-c4019c6cbeca</PickupAndDelivery_ID>
</AddToPickupAndDeliveryInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"PickupAndDelivery_ID":"1ec4aea0-a24e-4eb3-9cc7-c4019c6cbeca","Package_IDs":["30274c0f-638e-425b-a9b9-1f21bc79a1c4","a046f3bc-32cd-4253-a33d-f095b6f0f501"]}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.