14.4.1. SUPPLIERS HOTELCODECONTEXT EXAMPLES
hotelbeds - HotelCodeContext for supplier Hotelbeds
academ - HotelCodeContext for supplier Academservice
Please check with GP Travel HUB development to receive full suppliers HotelCodeContext list.
14.4.2. LANGUAGES
This refers to standard ISO 639 Language Codes:
En - English
Ru - Russian
Fr - French
etc.
For Chinese GP HUB uses following codes:
zh_cn - Chinese Simplified
zh_tw - Traditional
The logic behind the use of language of static information
HUB has some variants of choosing language: from PrimaryLangID attribute, from HUB configuration (gphub.default.locale property in gphub-config.properties), language by default - En. This logic is applying in Hotel Availability and Hotel Descriptive Info message.
HUB is choosing language by following priority:
HUB uses language from PrimaryLangID attribute if PrimaryLangID was specified in request.
HUB uses language from HUB configuration .
HUB used En language by default.
Language should be in database (GPT_LANGUAGE) in order to use it from PrimaryLangID or HUB configuration, if language is absent in database HUB skips it and works according priority above.
14.4.3. CURRENCIES
This refers to standard ISO 4217 Currency Codes:
USD - America (United States of America), Dollars
EUR - Azores, Euro
GBP - Britain (United Kingdom), Pounds
etc.
14.4.4. MEAL TYPES
This refers to Standard OTA codes "Meal Plan Type (MPT)":
Code | Description | MealsIncluded |
---|---|---|
1 | All inclusive | Breakfast="true" Dinner="true" Lunch="true" |
2 | American | Breakfast="true" Dinner="false" Lunch="false" |
3 | Bed & breakfast | Breakfast="true" Dinner="false" Lunch="false" |
4 | Buffet breakfast | Breakfast="true" Dinner="false" Lunch="false" |
5 | Caribbean breakfast | Breakfast="true" Dinner="false" Lunch="false" |
6 | Continental plan | Breakfast="true" Dinner="false" Lunch="false" |
7 | English breakfast | Breakfast="true" Dinner="false" Lunch="false" |
8 | European plan | Breakfast="false" Dinner="false" Lunch="false" |
9 | Family plan | Breakfast="false" Dinner="false" Lunch="false" |
10 | Full board | Breakfast="true" Dinner="true" Lunch="true" |
11 | Full breakfast | Breakfast="true" Dinner="false" Lunch="false" |
12 | Half board/modified American plan | Breakfast="true" Dinner="true" Lunch="false" |
13 | As brochured (actually means that the meal can't be classified more specific) | Breakfast="false" Dinner="false" Lunch="false" |
14 | Room only | Breakfast="false" Dinner="false" Lunch="false" |
15 | Self catering | Breakfast="false" Dinner="false" Lunch="false" |
16 | Bermuda | Breakfast="true" Dinner="false" Lunch="false" |
17 | Dinner bed and breakfast plan | Breakfast="true" Dinner="true" Lunch="false" |
18 | Family American | Breakfast="false" Dinner="false" Lunch="false" |
19 | Breakfast | Breakfast="true" Dinner="false" Lunch="false" |
20 | Modified | Breakfast="true" Dinner="true" Lunch="false" |
21 | Lunch | Breakfast="false" Dinner="false" Lunch="true" |
22 | Dinner | Breakfast="false" Dinner="true" Lunch="false" |
23 | Breakfast & lunch | Breakfast="true" Dinner="false" Lunch="true" |
24 | Lunch & Dinner | Breakfast="false" Dinner="true" Lunch="true" |
14.4.5. AGE GROUPS
Standard OTA codes "Age Qualifying Code (AQC)"
Code | Description |
7 | Infant (child up to 2 years old) |
8 | Child (child from 2 up to 18 years old) |
10 | Adult (older that 18) |
14.4.6. TRANSPORTATION CODE
Standard OTA codes "Transportation Code Type (TRP)"
Code | Description |
2 | Boat |
3 | Bus |
5 | Car |
14 | Plane |
21 | Train |
26 | Other |
14.4.7. UNIT OF MEASURE CODE
Standard OTA code "Unit of Measure Code (UOM)"
Code | Description |
1 | mile |
2 | km |
3 | m |
10 | blk // reserved for future |
29 | hour // reserved for future |
30 | 30- minute // reserved for future |
14.4.8. RELATIVE POSITIONS
Name | Description |
CityCenter | accommodation in arrange of city center |
OutsideCity | accommodation is outside the city |
CityLimits | accommodation within the bounds of the city |
Airport | accommodation in arrange of airport |
RailwayStation | accommodation in arrange of railway station |
Beach | accommodation in range of beach |
14.4.9. TEXT CATEGORY CODE
Code | Description | Code | Description | Code | Description |
---|---|---|---|---|---|
1 | exterior | 8 | pleasenote | 15 | sport |
2 | general | 9 | inclusive | 16 | payment |
3 | lobby | 10 | short | 17 | transportation |
4 | location | 11 | position | 18 | other |
5 | restaurant | 12 | facilities | 19 | checkInOut |
6 | rooms | 13 | meals | 20 | discount |
7 | apartments | 14 | route | 21 | neighborhood |
14.4.10. ERROR TYPES
Standard OTA codes "Error Warning Type (EWT)”
Code | Name | Description |
1 | Unknown | Unknown technical or business error occurred. |
3 | Biz rule | Business error occurred. For example, for some suppliers equal Names and Surnames of passengers are not allowed, so they return a error. |
10 | Required field missing | Means message validation error. |
11 | Technical | Technical error occurred. For example supplier server temporally unavailable. |
14.4.11. HOTEL CATEGORY CODE
This refers to Standard OTA codes " Property Class Type (PCT)":
Type | OTA_CODE | Description | OTA_CODE | Description | OTA_CODE | Description | OTA_CODE | Description |
---|---|---|---|---|---|---|---|---|
Architecture | 1 | Art deco | 6 | Mediterranean | 10 | Traditional | 14 | Themed |
2 | Brazilian | 7 | Modern | 11 | Victorian | 20 | Original | |
4 | High rise | 8 | Asian | 12 | Western | 21 | Stylish | |
5 | Historic | 9 | Southwest | 13 | Ancient | 22 | Design | |
Budget | 1 | All suite | 6 | Extended stay | 13 | Tourist | 19 | Quality |
2 | Budget | 7 | First class | 14 | Upscale | 22 | Midscale without F&B | |
3 | Corporate business transient | 8 | Luxury | 15 | Efficiency | 23 | Upper upscale | |
4 | Deluxe | 10 | Moderate | 16 | Standard | |||
5 | Economy | 12 | Resort | 17 | MidscaleQuality | |||
Location | 1 | Airport | 10 | Resort | 20 | Financial district | 29 | North suburb |
2 | Beach | 11 | Rural | 21 | Shopping district | 30 | South suburb | |
3 | City | 12 | South | 22 | Theatre district | 31 | East suburb | |
4 | Downtown | 13 | Suburban | 23 | Countryside | 32 | West suburb | |
5 | East | 14 | West | 24 | Bay | 33 | Waterfront | |
6 | Expressway | 15 | Beachfront | 25 | Sea | 34 | Ski resort | |
7 | Lake | 16 | Oceanfront | 26 | Park | |||
8 | Mountain | 18 | Business district | 27 | River | |||
9 | North | 19 | Entertainment district | 28 | Tourist site | |||
Target | 1 | Business | 7 | Adventure | 11 | Pets Friendly | 15 | Winter |
2 | Personal/leisure | 8 | Family | 12 | SPA | 16 | Sport | |
4 | Group or meeting | 9 | Golf | 13 | Wedding | 20 | Gay Friendly | |
5 | Conference | 10 | Only Adults | 14 | Wellnes & Active | 21 | Eco hotel | |
Type | 2 | All-Inclusive resort | 17 | Sanatorium | 27 | Motel | 40 | Pension |
3 | Apartment | 18 | Holiday resort | 28 | Ranch | 44 | Boatel | |
4 | Bed and breakfast | 19 | Hostel | 29 | Residential apartment | 45 | Boutique | |
5 | Cabin or bungalow | 20 | Hotel | 30 | Resort | 52 | Manor | |
6 | Campground | 21 | Inn | 35 | Villa | 62 | Other | |
7 | Chalet | 23 | Meeting resort | 36 | Wildlife reserve | 70 | Recreaction center | |
15 | Guest farm | 26 | Monastery | 37 | Castle | 71 | Pension with treatment |
The latest OTA classification codes can be found here
14.4.12. CODES OF TAXES (FTT)
Refers to Standard OTA codes of taxes (FTT):
Code | Description | Code | Description | Code | Description | Code | Description | Code | Description |
---|---|---|---|---|---|---|---|---|---|
1 | Bed tax | 12 | Resort fee | 23 | Express Handling Fee | 34 | Local fee | 45 | Standard food and beverage gratuity |
2 | City hotel fee | 13 | Sales tax | 24 | Exempt | 35 | Goods and services tax (GST) | 46 | National government tax |
3 | City tax | 14 | Service charge | 25 | Standard | 36 | Value Added Tax (VAT) | 47 | Adult rollaway fee |
4 | County tax | 15 | State tax | 26 | Zero-rated | 37 | Crib fee | 48 | Beverage with alcohol |
5 | Energy tax | 16 | Surcharge | 27 | Miscellaneous | 38 | Rollaway fee | 49 | Beverage without alcohol |
6 | Federal tax | 17 | Total tax | 28 | Room Tax | 39 | Assessment/license tax | 50 | Tobacco |
7 | Food & beverage tax | 18 | Tourism tax | 29 | Early checkout fee | 40 | Pet sanitation fee | 51 | Food |
8 | Lodging tax | 19 | VAT/GST tax | 30 | Country tax | 41 | Not known | 52 | Total surcharges |
9 | Maintenance fee | 20 | Surplus Lines Tax | 31 | Extra person charge | 42 | Child rollaway charge | 53 | State cost recovery fee |
10 | Occupancy tax | 21 | Insurance Premium Tax | 32 | Banquet service fee | 43 | Convention tax | 54 | Miscellaneous fee |
11 | Package fee | 22 | Application Fee | 33 | Room service fee | 44 | Extra child charge | 55 | Destination amenity fee |
14.4.13. OTA CODE LIST CHARGE TYPE (CHG)
Code | Description | Code | Description | Code | Description | Code | Description | Code | Description |
---|---|---|---|---|---|---|---|---|---|
1 | Daily | 8 | First use | 15 | Maximum charge | 22 | Minimum charge | 29 | Per tray |
2 | Hourly | 9 | One time use | 16 | Over-minute charge | 23 | Per rental | 30 | Per order |
3 | Half day | 10 | Per minute | 17 | Weekly | 24 | Per item | 31 | Per unit |
4 | Additions per stay | 11 | Per function | 18 | Per room per stay | 25 | Per room | 32 | One way |
5 | Per occurrence | 12 | Per stay | 19 | Per room per night | 26 | Per reservation/booking | 33 | Round trip |
6 | Per event | 13 | Complimentary | 20 | Per person per stay | 27 | Per gallon | ||
7 | Per person | 14 | Other | 21 | Per person per night | 28 | Per dozen |
14.4.14. OTA CODE LIST BOOKING CHANNEL TYPE (BCT)
Code | Description |
---|---|
1 | Global distribution system (GDS) |
2 | Alternative distribution system (ADS) |
3 | Sales and catering system (SCS) |
4 | Property management system (PMS) |
5 | Central reservation system (CRS) |
6 | Tour operator system (TOS) |
7 | Internet |
8 | Kiosk |
9 | Agent |
14.4.15. OTA CODE LIST INFORMATION TYPE (INF) (INF)
Code | Description | Code | Description |
---|---|---|---|
1 | Description | 14 | Safety |
2 | Policy | 15 | Services |
3 | Marketing | 16 | Transportation |
4 | Special instructions | 17 | Short description |
5 | Other | 18 | Advisory |
6 | Amenities | 19 | Geocodes |
7 | Attractions | 20 | Location |
8 | Awards | 21 | Address |
9 | Corporate locations | 22 | Contact |
10 | Dining | 23 | Pictures |
11 | Driving directions | 24 | Descriptive content |
12 | Facilities | 25 | Long name |
13 | Recreation | 26 | Alias name |
14.4.16. OTA CODE LIST PICTURE CATEGORY CODE (PIC)
Code | Description | Code | Description |
---|---|---|---|
1 | Exterior view | 13 | Bar/Lounge |
2 | Lobby view | 14 | Recreational facility |
3 | Pool view | 15 | Logo |
4 | Restaurant | 16 | Basics |
5 | Health club | 17 | Map |
6 | Guest room | 18 | Promotional |
7 | Suite | 19 | Hot news |
8 | Meeting room | 20 | Miscellaneous |
9 | Ballroom | 21 | Guest room amenity |
10 | Golf course | 22 | Property amenity |
11 | Beach | 23 | Business center |
12 | Spa |
14.4.17. OTA CODE LIST ADDITIONAL DETAIL TYPE (ADT)
Code | Description | Code | Description | Code | Description | Code | Description |
---|---|---|---|---|---|---|---|
1 | Rate description | 20 | Advanced booking information | 39 | Contract/negotiated booking information | 58 | Surcharge information |
2 | Property description | 21 | Extra person information | 40 | Travel industry booking information | 59 | Minimum stay information |
3 | Property location | 22 | Areas served | 41 | Meeting room description | 60 | Maximum stay information |
4 | Room information | 23 | Onsite facilities information | 42 | Pet policy description | 61 | Check-in policy |
5 | Guarantee information | 24 | Offsite facilities information | 43 | Meal plan description | 62 | Check-out policy |
6 | Deposit information | 25 | Onsite services information | 44 | Family plan description | 63 | Express check-in policy |
7 | Cancellation information | 26 | Offsite services information | 45 | Children information | 64 | Express check-out policy |
8 | Check in check out information | 27 | Extended stay information | 46 | Early checkout description | 65 | Facility restrictions |
9 | Extra charge information | 28 | Corporate booking information | 47 | Special offers description | 66 | Customs information for material |
10 | Tax information | 29 | Booking guidelines | 48 | Catering description | 67 | Seasons |
11 | Service charge information | 30 | Government booking policy | 49 | Room decor description | 68 | Food and beverage minimums for groups |
12 | Package information | 31 | Group booking information | 50 | Oversold policy description | 69 | Deposit policy for master account |
13 | Commission information | 32 | Rate disclaimer information | 51 | Last room availability description | 70 | Deposit policy for reservations |
14 | Miscellaneous information | 33 | Visa/travel requirement information | 52 | Room type upgrade description | 71 | Restaurant services |
15 | Promotional information | 34 | Security information | 53 | Driving directions | 72 | Special events |
16 | Inclusion information | 35 | Onsite recreational activities information | 54 | Driving directions from the north | 73 | Cuisine description |
17 | Amenity information | 36 | Offsite recreational activities information | 55 | Driving directions from the south | ||
18 | Late arrival information | 37 | General meeting planning information | 56 | Driving directions from the east | ||
19 | Late departure information | 38 | Group meeting planning information | 57 | Driving directions from the west |
14.4.18. OTA CODE LIST HOTEL AMENITY CODE (HAC)
You can also download this XLS file to see the list of codes:
14.4.19. OTA CODE LIST ROOM AMENITY CODE (RMA)
You can also download this XLS file to see the list of codes: