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.
|res_id||numeric||10000000 — 231-1||YES||res_id=10001235||Label should be named “Booking Confirmation No.”|
|varchar(128)||YESemail@example.com||This field should be validated before submitting the form.|
<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>