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

If the reservation retrieval process succeeds, the booking summary is displayed. If the parameters are invalid or a reservation 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.

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">Reservation Search</button>
</form>