BookingList

GET {{endpoint}}/hotel-api/1.0/bookings?start={{startDate}}&end={{endDate}}&from=1&to=25

The BookingList operation returns a list of bookings based on the search criteria.

Request Params

KeyDatatypeRequiredDescription
startstringInitial value of the date range to search for reservations. The format must be YYYY-MM-DD
endstringFinal value of the date range to search for reservations. The format must be YYYY-MM-DD
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. |

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