POST api/Booking/GetBooking
Request Information
URI Parameters
None.
Body Parameters
GetBooking| Name | Description | Type | Additional information |
|---|---|---|---|
| BKG_ID | integer |
None. |
|
| BKG_NUMBER | string |
None. |
|
| BKG_NUMBER_N | string |
None. |
|
| BKG_CP_ID | integer |
None. |
|
| BKG_MFST_AGENT | integer |
None. |
|
| BKG_VOY_ID | integer |
None. |
|
| BKG_STATUS | string |
None. |
|
| BKG_VOY_REQ | string |
None. |
|
| START | integer |
None. |
|
| LENGTH | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BKG_ID": 1,
"BKG_NUMBER": "sample string 1",
"BKG_NUMBER_N": "sample string 2",
"BKG_CP_ID": 1,
"BKG_MFST_AGENT": 1,
"BKG_VOY_ID": 1,
"BKG_STATUS": "sample string 3",
"BKG_VOY_REQ": "sample string 4",
"START": 1,
"LENGTH": 1
}
application/xml, text/xml
Sample:
<GetBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <BKG_CP_ID>1</BKG_CP_ID> <BKG_ID>1</BKG_ID> <BKG_MFST_AGENT>1</BKG_MFST_AGENT> <BKG_NUMBER>sample string 1</BKG_NUMBER> <BKG_NUMBER_N>sample string 2</BKG_NUMBER_N> <BKG_STATUS>sample string 3</BKG_STATUS> <BKG_VOY_ID>1</BKG_VOY_ID> <BKG_VOY_REQ>sample string 4</BKG_VOY_REQ> <LENGTH>1</LENGTH> <START>1</START> </GetBooking>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |