| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Passing Search Criteria into IRM.Net from the Marketing Web Site
Pass Search Criteria into IRM.Net
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parameter | Description | Example |
|---|---|---|
| Arrival | Search for availability with this Arrival Date. The Departure Date or number of Nights must be passed. | Arrival=06/28/2008 |
| Departure | Search for availability with this Departure Date. The Arrival Date must also be passed. | Departure=06/30/2008 |
| Nights | Pass the number of nights instead of the Departure Date. | Nights=03 |
| LocationCode | Search for rooms with this location code (the location code passed in should be the subrecord value from the R3 table. Requires that the IRM.Net configuration "Display Locations" checkbox be checked. | LocationCode=02 |
| People 1 | Search availability based on People1 count. | People1=2 |
| People 2 | Search availability based on People2 count. | People2=2 |
| People 3 | Search availability based on People3 count. | People3=1 |
| People 4 | Search availability based on People4 count. | People4=1 |
| PromoCode | Pass in a promotion code that has been configured and enabled. The rate plan associated with the promotion code will be quoted. | PromoCode=12345 |
| PropertyCode | Search for rooms with this property code (the property code passed in should be the subrecord value from the R2 table, for example 02 for Tower 2). Requires that the IRM.Net configuration "Display Property Code" checkbox be checked. | PropertyCode=01 |
| RoomType | Search for rooms of this room type (the room type passed in should be the subrecord value from the C2 table (i.e., 2B for two-bedroom). Requires the IRM.Net configuration Show Room Type Choices checkbox to be checked. | RoomType=DD |
| RoomNum | Search for specific rooms.
Requires the IRM.Net configuration
Hide Room
Number Choices checkbox to be unchecked and preassign reservations
are required. (See below for information on linking to a room when
the Hide Room Number Choices checkbox is checked.) |
RoomNum=102 |
| Request1 | Corresponds to the first guest preference configured in RDPWin Reservations | Configuration | Preferences tab. Pass in the short value. Any combination of guest requests can be passed in. | Request1=1BR |
| Request2 | Corresponds to the second guest preference configured in RDPWin Reservations | Configuration | Preferences tab. Pass in the short value. Any combination of guest requests can be passed in. | Request2=VV |
| & Request3 - Request9 | Corresponds to the third through ninth guest preferences configured in RDPWin Reservations | Configuration | Preferences tab. Pass in the short value. Any combination of guest requests can be passed in. | |
| Resort | In the case of a data server with multiple resort directories, specify which resort directory to search for availability. The default is RDP01. Pass in only the resort number (excluding the text "RDP"). | Resort=02 |
The syntax for specifying query string parameters on a URL is to add them as name=value pairs, separated by an ampersand characters (&). Follow the page address with a question mark (?) then add the query string parameters. For example: http:// irmserver.domain.com/irmnet/res/resmain.aspx?Arrival=06/28/2008&Departure=06/30/2008&Request2=VV.
To directly link to the details page for a specific room, create a
link to the IRM.Net page
RoomDetailsPage.aspx passing in the RoomNum parameter, for example:
<server>/irmnet/res/RoomDetailsPage.aspx?Resort=97&RoomNum=111&Arrival=04/25/98&Departure=04/29/98
(only the RoomNum parameter is required).

Owner Login or Group and Travel Agent Login:
The Owner login page can be accessed by
using https://irmserver.domain.com/irmnet/owner/ownerhome.aspx
The Group and Travel Agent login page can be accessed by using
https://irmserver.domain.com/irmnet/login.aspx
Returning Guest Login:
Returning Guest login page can be accessed by using https://irmserver.domain.com/irmnet/Login.aspx?LoginType=guest
Brochure Request:
IRM.Net can be configured for guests to request brochures. Guests can enter their contact information and be sent a brochure automatically via e-mail, while their information is added to the guest history database in RDP. The brochure request feature is enabled automatically. See IRM.Net Configuration for details on configuring brochure requests. The brochure request page can be accessed by using http://irmserver.domain.com/irmnet/res/requestbrochure.aspx
Sample page including IRM.Net in an iframe:
An 'inline frame' places an HTML document (in this case an IRM.Net page) in a
frame inside a non-framed HTML document. There are numerous sources online for
more information about iframes and the appropriate syntax. Setting up the marketing website to pass search criteria to the IRM.Net can be
accomplished with a combination of HTML and
JavaScript and does require web
programming expertise. The following is provided as a sample.
Note: This sample is for illustration purposes only and is not
supported by RDP.
View Functioning Sample
Download the sample files. SearchCriteriaSample.zip includes the
following files:
| Sample File | Description |
|---|---|
| index.html | Sample page including HTML drop-down boxes to implement the guest preference selections, JavaScript calendars to implement the arrival and departure date selections, an HTML anchor tag to implement the search button, and an iframe within which the IRM.Net is displayed. |
| jsIRM/callIRM.js | JavaScript to construct the URL to the IRM.Net including query string parameters based on the selections made. Displays the IRM.Net in the iframe in index.html. |
| jscalendar/* | Open source JavaScript calendar implementing the arrival and departure calendars. |
| jsIRM/setupCalendars.js | JavaScript to initialize the arrival and departure date calendars./td> |
| Images/* | Search button image |
| Support Home | RDPWin3 & PCI Compliance | Enhancement Requests | Open A Web Support Ticket |
|---|---|---|---|
| Training | 3rd Party Interfaces | RDP Sales Website | Contact Us |
|
|