WebHotelier supports pre-selection of a booking code. Booking codes unlock hidden rates.

Table of Contents
  1. Parameters
  2. Usage
  3. Examples of POST requests
  4. Examples of GET requests

Intro

Parameters

NAME TYPE RANGE REQUIRED DEFAULT EXAMPLE NOTES
bkcode string varchar(255) YES bkcode=EXAMPLE  

Usage

If the supplied booking code is invalid or no rates are found matching the code, the parameter is ignored.

The URL including the bkcode parameter should not be visible on public web pages or other publicly accessible resources, the URL should be provided only to 3rd parties that must have access to the hidden rates. For widely used special offers, Voucher Codes are more appropriate.

The bkcode parameter can be combined with the Check Rates method to enable a booking code and launch availability at the same time.

Example of POST request using a standard HTML form

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

	<label>Booking Code</label>
	<input type="text" name="bkcode" size="20" maxlength="255" />

	<button type="submit">Launch Booking Engine</button>
</form>

Examples of GET requests

https://example.reserve-online.net/?bkcode=EXAMPLE
https://example.reserve-online.net/?bkcode=EXAMPLE&checkin=2017-07-28&checkout=2017-08-04&adults=2