POST api/PickupAndDelivery/Cargo/Save
Request Information
URI Parameters
None.
Body Parameters
PickupAndDeliveryPackageInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PickupAndDelivery_ID | globally unique identifier |
None. |
|
| PackageType_ID | integer |
None. |
|
| Length | string |
None. |
|
| Width | string |
None. |
|
| Height | string |
None. |
|
| Weight | string |
None. |
|
| NumberOfPieces | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PickupAndDelivery_ID": "e51877de-cb0f-4320-817d-1bf9b82aa5f4",
"PackageType_ID": 2,
"Length": "sample string 3",
"Width": "sample string 4",
"Height": "sample string 5",
"Weight": "sample string 6",
"NumberOfPieces": 7
}
application/xml, text/xml
Sample:
<PickupAndDeliveryPackageInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels"> <Height>sample string 5</Height> <Length>sample string 3</Length> <NumberOfPieces>7</NumberOfPieces> <PackageType_ID>2</PackageType_ID> <PickupAndDelivery_ID>e51877de-cb0f-4320-817d-1bf9b82aa5f4</PickupAndDelivery_ID> <Weight>sample string 6</Weight> <Width>sample string 4</Width> </PickupAndDeliveryPackageInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"PickupAndDelivery_ID":"e51877de-cb0f-4320-817d-1bf9b82aa5f4","PackageType_ID":2,"Length":"sample string 3","Width":"sample string 4","Height":"sample string 5","Weight":"sample string 6","NumberOfPieces":7}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.