Search:     Advanced search
Browse by category:
Glossary | Ask question



How to add a online reservation form on my website?
Add comment
Views: 919
Votes: 0
Comments: 0
It is possible to add an online reservation form on your property's website that will be used to replace the first online reservation step.

You will need to place an HTML form with the following fields on your website:

Field name
Value
lang 'en' or 'fr'
checkinDate Date in MM-DD-YYYY format
checkoutDate Date in MM-DD-YYYY format
numberOfRooms Number of rooms (ex. '2')
userType One of the following values:
'newGuest', 'returningGuest', 'agent'


The HTML form's action should be:

https://res.innfluence.com/yourclientid/booking/findAvailability.do

Where 'yourclientid' is, as the name implies, your Innfluence Client ID (used to activate the software).


An example form is shown below:

<form name="findAvailabilityForm" method="post" action="https://res.innfluence.com/yourclientid/booking/findAvailability.do">
<input type="hidden" name="lang" value="website_language" />
<fieldset id="bookingForm">
<legend>On-line booking</legend>
<table>
<tr>
<th><label for="checkinDate">From (MM-DD-YYYY):</label></th>
<td><input type="text" name="checkinDate" /></td>
</tr>
<tr>
<th><label for="checkoutDate">To (MM-DD-YYYY):</label></th>
<td><input type="text" name="checkoutDate" /></td>
</tr>
<tr>
<th><label for="numberOfRooms">Rooms:</label></th>
<td><input type="text" name="numberOfRooms" /></td>
</tr>
<tr>
<td colspan="2">
<select name="userType">
<option value="newGuest">I am a new guest</option>
<option value="returningGuest">I am a returning guest</option>
<option value="agent">I am a travel agent</option>
</select>
</td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Check availability" /></td>
</tr>
</table>
</fieldset>
</form>


Other questions in this category
What is the link to use to direct visitors to the online reservation interface?