Home Software Sales Crystal KB Contact Us
RDP Support  


RDPWin KB IRM.Net RDPWin3 & PCI Compliance Search
   

Passing Search Criteria into IRM.Net from the Marketing Web Site

Article ID: KINet0004
Added:      6/09/08 SW
Updated:   2/1/12 MC
Return to IRM.Net Knowledge Base Index

The IRM.Net is configurable and customizable to a great degree. The documentation contained below is designed to be used by web programmers to configure the IRM.Net. The documentation will be self explanatory to a web programmer. Programmer support is not provided for integrating the IRM.Net. If you are not a web programmer, or you have not hired a web programmer and you would like to customize the IRM.Net, please contact Blizzard Internet Marketing, our preferred provider for IRM.Net configuration.

Pass Search Criteria into IRM.Net
From the Marketing Website

IRM.Net allows search criteria values as well as arrival and departure dates to be passed in from the market website, in which case the Room List only includes rooms meeting the criteria. The search criteria supported corresponds to the Guest Preferences configured in RDPWin  on the Reservations | Configuration | Preferences tab.  Arrival and departure dates as well as people counts can optionally be passed to IRM.Net. 

This is accomplished by constructing a URL to the IRM.Net with the selection values passed in as query string parameters.  The resulting IRM.Net page can either be displayed in a new browser tab/window or in an iframe within the marketing webpage. The IRM.Net page address to be used in this scenario is http://irmserver.domain.com/irmnet/res/resmain.aspx.  The following query string parameters are supported by IRM.Net and can be appended to this URL:

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

 Facebook     Twitter      LinkedIn   TODF