BookingList
GET {{endpoint}}/hotel-api/1.0/bookings?from=1&to=25&start={{fromDate}}&end={{toDate}}
The BookingList operation returns a list of bookings based on the search criteria.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
filterType | string | Defines the criteria of the date range filter (if affects creation date, check-in date or cancellation policies date) Values: |
CHECKIN: for check-in date
CREATION: for creation date
MODIFIED: for modification date
CLXPOLICIES: for cancellation policies |
| status | string | | The parameter is used to get all bookings, including or excluding cancelled bookings. Values:
"ALL" displays all bookings.
"CONFIRMED" displays only confirmed bookings.
"CANCELLED" displays only cancelled bookings. |
| from | number | | Number "from" of bookings to be returned. |
| to | number | | Number "to" of bookings to be returned. |
| clientReference | string | | Parameter to filter the result by the client reference included in the booking. |
| country | string | | Parameter to filter the results by the country of the hotel. |
| destination | string | | Parameter to filter the results by the destination of the hotel. |
| hotel | string | | Parameter to filter the results by the hotels reserved in the bookings. |
| extend | boolean | | Extends the response info to show tax breakdown, commission, passenger structure and remarks. |
| start | string | | |
| end | string | | |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Api-key | string | API Key used in the request | |
X-Signature | string | SHA256 hash in Hex format from your API Key, your secret plus current timestamps in seconds | |
Accept | string | Defines response format, posible values: application/xml, application/json | |
Accept-Encoding | string | Defines type of encoding used on the data |