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.
|res_id||numeric||10000000 — 231-1||YES||res_id=10001235||Label should be named “Booking Confirmation No.”|
|varchar(128)||YESfirstname.lastname@example.org||This field should be validated before submitting the form.|
|modify||flag||—||NO||modify||Opens the panel that contains the options to modify the booking.|
<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>