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": [
"4df3ca67-3404-49f7-b022-d2f06fa6fa5e",
"32f5590f-828f-494a-9677-71348017aacf"
],
"Booking_ID": "fc0d54d1-bcf9-4ad4-8035-b8cdfc964fce"
}
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>fc0d54d1-bcf9-4ad4-8035-b8cdfc964fce</Booking_ID>
<Package_IDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>4df3ca67-3404-49f7-b022-d2f06fa6fa5e</d2p1:guid>
<d2p1:guid>32f5590f-828f-494a-9677-71348017aacf</d2p1:guid>
</Package_IDs>
</AddToBookingInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Package_IDs":["4df3ca67-3404-49f7-b022-d2f06fa6fa5e","32f5590f-828f-494a-9677-71348017aacf"],"Booking_ID":"fc0d54d1-bcf9-4ad4-8035-b8cdfc964fce"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.