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

KeyDatatypeRequiredDescription
filterTypestringDefines 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

KeyDatatypeRequiredDescription
Api-keystringAPI Key used in the request
X-SignaturestringSHA256 hash in Hex format from your API Key, your secret plus current timestamps in seconds
AcceptstringDefines response format, posible values: application/xml, application/json
Accept-EncodingstringDefines type of encoding used on the data