WebHotelier supports launching the booking retrieval process from an external website. The process starts by submitting a form with fields as described below.

If the booking retrieval process succeeds, the booking summary is displayed. If the parameters are invalid or a booking matching those parameters is not found, the booking retrieval form in the booking engine is loaded and an error message is displayed.

It is recommended to validate the form parameters before submitting the form (see below).

It is possible to launch the booking retrieval form in the booking engine without submitting a form, by using just a link. See the Open View API for more.

Table of Contents
  1. Request URL
  2. Form fields
  3. Example

Form fields

NAME TYPE RANGE REQUIRED EXAMPLE NOTES
res_id numeric 10000000 — 231-1 YES res_id=10001235 Label should be named “Booking Confirmation No.”
email email varchar(128) YES email=john.smith@yahoo.gr This field should be validated before submitting the form.
modify flag NO modify Opens the panel that contains the options to modify the booking.

⛔ CAUTION ⛔

Do not forget to replace example.reserve-online.net in the examples below with the real booking engine hostname.

If you don't know the hostname yet, please contact WebHotelier support.

Form Example

<form action="https://example.reserve-online.net/" method="post">

	<label>Booking Confirmation No.</label>
	<input type="text" name="res_id" size="20" />

	<label>Email</label>
	<input type="text" name="email" size="20" maxlength="128" />

	<button type="submit">Find Booking</button>
</form>