The reservation search method returns a list of WebHotelier reservations. The results in the list can be filtered by various criteria and result paging is supported.

Table of Contents
  1. URL Endpoint
  2. Method Parameters

URL Endpoint



This method is only accessible using a Hotelier, Operator or Agent API account.

Method Parameters

maxrows integer 1+ NO 1000 &maxrows=10 Limits the number of results in response.
pageNo integer 1+ NO 1 &pageNo=2 Page number if the number of results is greater than maxrows.
order string ASC
NO DESC &order=ASC DESC: Newest to oldest
ASC: Oldest to newest
verbose integer 0
NO 0 &verbose=1 0: Reservation IDs only
1: Basic information
2: Full information
property string varchar(10) NO &property=DEMO The property code.
Only applicable for operator API accounts.
res_id integer 1+ NO &res_id=12345 Reservation ID.
If specified, all other filters are ignored.
rm_type string varchar(6) NO &rm_type=DBL Room type code
rate_id integer 1+ NO &rate_id=12345 Rate ID
vch_code string varchar(255) NO &vch_code=VOUCHER Voucher code
bk_code string varchar(255) NO &bk_code=PRIVE Booking code
referer string varchar(255) NO & Booking referer
bk_fromd date (ISO 8601) NO &bk_fromd=2011-01-01 Booked from date
bk_tod date (ISO 8601) NO &bk_tod=2011-01-31 Booked to date
chkin_fromd date (ISO 8601) NO &chkin_fromd=2011-01-01 Check-in from date
chkin_tod date (ISO 8601) NO &chkin_tod=2011-01-31 Check-in to date
chkout_fromd date (ISO 8601) NO &chkout_fromd=2011-01-01 Check-out from date
chkout_tod date (ISO 8601) NO &chkout_tod=2011-01-31 Check-out to date
status binary 0 – 1 NO &status=1 0: Cancelled
1: Active
first_name string varchar(30) NO &first_name=John Client's first name
last_name string varchar(30) NO &last_name=Smith Client's last name
email string varchar(255) NO & Client's e-mail address
offline boolean 0 – 1 NO &offline=1 0: Online reservations only(booked directly to WebHotelier)
1: Offline reservations only(imported from 3d party systems like ChannelManager or booked via WebHotelier Legolas Reservation Calendar)
channelstream boolean 0 – 1 NO &channelstream=1 0: WebHotelier direct or Legolas (offline) reservations only
1: ChannelStream (imported from 3rd party systems) reservations only
private_rates boolean 0 – 1 NO &private_rates=1 0: Reservations booked on public rates only
1: Reservations booked on private rates only(rates that require booking code)
external_id string varchar(64) NO &external_id=EXT-123456 Third party system reservation identifier