POST api/Booking/Cargo/AddToBooking
Request Information
URI Parameters
None.
Body Parameters
AddToBookingInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Package_IDs | Collection of globally unique identifier |
None. |
|
| Booking_ID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Package_IDs": [
"42687356-fe57-4039-943c-1e4961696c3b",
"8126f4bf-3fd2-441c-a84a-f96085b35a27"
],
"Booking_ID": "c3d7e17e-69a0-4b3e-b94e-8dd279825fc2"
}
application/xml, text/xml
Sample:
<AddToBookingInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels">
<Booking_ID>c3d7e17e-69a0-4b3e-b94e-8dd279825fc2</Booking_ID>
<Package_IDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>42687356-fe57-4039-943c-1e4961696c3b</d2p1:guid>
<d2p1:guid>8126f4bf-3fd2-441c-a84a-f96085b35a27</d2p1:guid>
</Package_IDs>
</AddToBookingInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Package_IDs":["42687356-fe57-4039-943c-1e4961696c3b","8126f4bf-3fd2-441c-a84a-f96085b35a27"],"Booking_ID":"c3d7e17e-69a0-4b3e-b94e-8dd279825fc2"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.