POST api/Booking/Cargo/Save
Request Information
URI Parameters
None.
Body Parameters
BookingPackageInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Booking_ID | globally unique identifier |
None. |
|
| Release_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:
{
"Booking_ID": "d59ed625-d2a9-4e6a-a52f-700eb8e9aba5",
"Release_ID": "b1d03b9c-5bcf-4808-93b3-edafdd9d9660",
"PackageType_ID": 3,
"Length": "sample string 4",
"Width": "sample string 5",
"Height": "sample string 6",
"Weight": "sample string 7",
"NumberOfPieces": 8
}
application/xml, text/xml
Sample:
<BookingPackageInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels"> <Height>sample string 6</Height> <Length>sample string 4</Length> <NumberOfPieces>8</NumberOfPieces> <PackageType_ID>3</PackageType_ID> <Release_ID>b1d03b9c-5bcf-4808-93b3-edafdd9d9660</Release_ID> <Weight>sample string 7</Weight> <Width>sample string 5</Width> <Booking_ID>d59ed625-d2a9-4e6a-a52f-700eb8e9aba5</Booking_ID> </BookingPackageInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Booking_ID":"d59ed625-d2a9-4e6a-a52f-700eb8e9aba5","Release_ID":"b1d03b9c-5bcf-4808-93b3-edafdd9d9660","PackageType_ID":3,"Length":"sample string 4","Width":"sample string 5","Height":"sample string 6","Weight":"sample string 7","NumberOfPieces":8}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.