v1

latestOpenAPI 3.0.12026-07-2626261190.5 KB
Availability

Get available rooms and rates for direct hotel search

Get available rooms and rates for direct hotel search

get/api/v1/hotels/{hotelId}/directrooms

Path parameters

hotelIdstring required

Hotel Id

Query parameters

currencystring required

Currency for search request

checkInstring date-time required

Check-in date for search request, in ISO 8601 format (YYYY-MM-DD)

checkOutstring date-time required

Check-out date for search request, in ISO 8601 format (YYYY-MM-DD)

nationalitystring nullable

Nationality of the traveller

countryOfResidencestring nullable

Country of residence of traveller

destinationCodestring nullable

Destination Code

room1AdultCountinteger required

Room 1 adult count

room1ChildAgesinteger[] nullable

Room 1 child ages

room2AdultCountinteger nullable

Room 2 adult count

room2ChildAgesinteger[] nullable

Room 2 child ages

room3AdultCountinteger nullable

Room 3 adult count

room3ChildAgesinteger[] nullable

Room 3 child ages

room4AdultCountinteger nullable

Room 4 adult count

room4ChildAgesinteger[] nullable

Room 4 child ages

room5AdultCountinteger nullable

Room 5 adult count

room5ChildAgesinteger[] nullable

Room 5 child ages

room6AdultCountinteger nullable

Room 6 adult count

room6ChildAgesinteger[] nullable

Room 6 child ages

culturestring nullable

Culture for search request

travelPurpose'Leisure' | 'Business'

Purpose of the travel for the booking. It could affect the available rate plans, pricing, or tax calculations.

Headers

api-keystring required

Api Key for authentication

customer-idstring required

Customer Id

affiliate-idstring required

Affiliate Id

user-ipstring required

End user IP

correlation-idstring required

Guid based id used for tracing purpose

Response

Success

hotelIdstring

Unique Id of the hotel

tokenstring

Token to be used in the subsequent calls

currencystring

Requested currency

rateCombinabilityType'None' | 'GroupSameId' | 'GroupDifferentId' | 'GroupWithinSameId'