The <RuleTypeInd> element is returned in HotelRules response. These codes are used by suppliers to provide additional information about the hotel rate, rules, extra charges, package options, and property.
Each code below is returned in the <RuleTypeInd> element, immediately followed by a <Text> element that contains the specific information for that code. Unlimited lines of text information are allowed, except as indicated in the table below.
For example, the following code has a RuleTypeInd of F1, which identifies amenities included in the rate. The Text following the F1 code defines the specific amenities that are included.
<RuleTypeInd>F1 </RuleTypeInd>
<Text> -PHONE -RADIO -WIRELESS INTERNET</Text>
Note: Some codes listed below are only applicable to chains that support Complete Pricing (CP-1) or Complete Pricing Plus (CP-2).
Max Length |
<RuleTypeInd> Code |
Code Description |
30 |
MI |
More information storage |
25 |
AD |
Property address (Max 2) |
21 |
PH |
Phone number |
21 |
FX |
Fax number (State "No Fax" if number not available.) |
Promotional information |
||
64 |
G3 |
Promotional text |
Rate Information |
||
64 |
RD |
Rate description text |
3 |
CC |
Currency code rates |
1 |
DP |
Decimal places for rates (values are 0-3) |
1 |
NO |
Number of adults |
2 |
PT |
(CP-1) Pricing type indicator for the following rate(s). At this time, the only allowed value is as follows: PN - Per night |
9 |
RE |
Rate amount (does not include decimal, e.g., "05RE11500") |
40 |
F0 |
Rate comment (max 1 per "RE" field) |
2 |
ND |
(CP-2) Number of nights to which this rate applies |
2 |
PT |
(CP-1) Pricing used on the following rate amount. Options are: AP = Approximate Total Plus AT = Approximate Total |
9 |
TR |
(CP-1) Total amount (does not include decimal, e.g., “05TR12359”) |
64 |
RI |
Room rate indicator text |
64 |
F1 |
Inclusions text (list items included in the rate, e.g., breakfast) |
Rule Information |
||
64 |
F2 |
Guarantee text |
64 |
F4 |
Deposit text |
64 |
F3 |
Cancellation text |
64 |
F5 |
Other rules text |
|
|
Room Information |
64 |
F6 |
More detailed room description text |
|
|
Extra Charges |
64 |
F7 |
Extra charges text |
|
|
Package Options |
64 |
F8 |
Package options text |
|
|
Property Information |
64 |
F9 |
Property description text |
|
|
Property Location |
64 |
G0 |
Property location text |
|
|
Miscellaneous Information |
64 |
G1 |
Miscellaneous Text |
The following codes apply mainly to older versions of this transaction when Complete Pricing Plus (CP-2) data exists. These codes will only display in the <RuleTypeInd> elements if the HOV version is prior to CP-2 AND if CP-2 data exists. If the HOV request version is CP-2 or greater, then CP-2 fields will be return via their own unique XML tags rather than in the <RuleTypeInd> element.
Max Length |
<RuleTypeInd> Code |
Code Description |
9 |
EX |
Indicates the number of extra adults plus the extra charge amount. The first digit is the number of extra adults followed by the amount. For example, “EX2000” indicates two extra adults for 0 amount. |
9 |
EC |
Indicates the number of extra children the extra charge amount. The first digit is the number of extra children followed by the amount. For example, “EC0000” indicates no extra children for 0 amount. |
1 |
CM |
Indicates if the rate is commissionable. Y = Commissionable N = Not commissionable Blank = Unknown |
1 |
SM |
Indicates if the room is non-smoking or smoking. Y = Smoking N = Non-smoking Blank = Unknown |
1 |
DG |
Deposit / guarantee / prepayment required for booking D = Deposit required G = Guarantee required P = Prepayment required |
2 |
CT |
This will contain one 2-character ID of one of the acceptable credit cards, e.g., AX for American Express or VI for Visa. This field will be repeated for each acceptable credit card. |
5 |
GH |
The time expressed as HH.MM that the room will be held up until this time after initial booking without a guarantee. |