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": [
"718a78d6-ac83-4df3-a754-e1b83862ed9f",
"cf3da3ab-f309-4078-bf7e-33760e89e008"
],
"Booking_ID": "619142f4-59e7-4603-837f-eefcdd6423ff"
}
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>619142f4-59e7-4603-837f-eefcdd6423ff</Booking_ID>
<Package_IDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>718a78d6-ac83-4df3-a754-e1b83862ed9f</d2p1:guid>
<d2p1:guid>cf3da3ab-f309-4078-bf7e-33760e89e008</d2p1:guid>
</Package_IDs>
</AddToBookingInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Package_IDs":["718a78d6-ac83-4df3-a754-e1b83862ed9f","cf3da3ab-f309-4078-bf7e-33760e89e008"],"Booking_ID":"619142f4-59e7-4603-837f-eefcdd6423ff"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.