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": [
"56deec56-f323-469f-bf71-e199e543db80",
"7f1e8849-4fe2-4391-b1bc-14ec90e2e7a0"
],
"Booking_ID": "11ee6242-0614-442a-b2c7-9b3d13c396bd"
}
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>11ee6242-0614-442a-b2c7-9b3d13c396bd</Booking_ID>
<Package_IDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>56deec56-f323-469f-bf71-e199e543db80</d2p1:guid>
<d2p1:guid>7f1e8849-4fe2-4391-b1bc-14ec90e2e7a0</d2p1:guid>
</Package_IDs>
</AddToBookingInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Package_IDs":["56deec56-f323-469f-bf71-e199e543db80","7f1e8849-4fe2-4391-b1bc-14ec90e2e7a0"],"Booking_ID":"11ee6242-0614-442a-b2c7-9b3d13c396bd"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.