fetch availability

To get availability we’ll use this function

fetch_availability(token, lcode, dfrom, dto, room)


fetch_availability(token, lcode, '01/02/2015', '03/02/2015')

If we know a room type you can specify the room in the research. Then, DBL being room type searched:

fetch_availability(token, lcode, '01/02/2015', '03/02/2015', 'DBL')


To make better use of availability’s search, it is good to know the room types of the property. For this, we have this function extracting the configured room types

fetch_room(token, lcode)

if we know the ID of a particular room we can do the following search.

fetch_room(token, lcode, room_code)