TABLE OF CONTENTS


Data Type Format

Data TypeFormatExample
monthDayMM-DD--12-31
dateTimeYYYY-MM-DDThh:mm:ss2017-12-31T13:05:15
Timehh:mm:ss15:30:00
Booleantrue or falseTRUE
Stringcontain characters, line feeds, carriage returns, and tab charactersJohn Smith
Language2-letter language code that conforms to ISO 639, followed by a hyphen and a two-letter, country code that conforms to ISO 3166EN-US
DateYYYY-MM-DD2009-03-31
nonNegativeIntegerany whole number greater than or equal to zero (0)17
YearYYYY2012
positiveIntegerany whole number greater than zero (0)35
Decimalnn or nn.nnn (up to 18 decimal digits unless stated otherwise)10.25
Alphaa sequence of letters of the alphabetXYZ
PercentageDecimal10.25
DateOrMonthDayYYYY-MM-DD or --MM-DD2010-07-11
anyURIa valid URLhttps://www.w3schools.com/images/smiley.gif
FormattedTextTextTypeString
TimeOrDateTimehh:mm:ss or YYYY-MM-DDThh:mm:ss2017-12-31T13:05:15
NumericInteger15
AmountDeterminationTypeString - enumeration values of Inclusive, Exclusive and CumulativeInclusive
StateProvCodeTypeStringLength1to8 (min length 2) - standard state code or abbreviation for state, province or regionCA
OTA_CodeTypenumeric code from the specified code list (see OTA_CodeType tab)5



Error Code Description

#Can be found inLevelCodeError MessageExampleError Description
1HotelSearchRS / HotelDescriptiveInfoRSErrorClientMalformed XML request format, cause: <Detial reasons> If xml is malformed, incomplete or unreadable.
2HotelSearchRS / HotelDescriptiveInfoRSErrorInvalidUsernameTokenUsername or password is not correct or either is empty. 1)If user do not provide username value; 2)If user do not provide password value; 3)If user provide username+password but not correct.
6HotelSearchRS / HotelDescriptiveInfoRSErrorInvalidAltLangIDInvalid AltLangID provided, the value should be a combination of 2-letter language code and  2-letter country code with hyphen in the middle. Please follow ISO 639-1 for language code and ISO 3166-1 alpha-2.EN-US1) If the language code cannot be found in the enumration: break by hyphen mark "-" and left part should be found in ISO-639-1 Language Code, right part should be found in ISO-3166 Country Code
7HotelDescriptiveInfoRSErrorInvalidPrimaryLangIDInvalid PrimaryLangID provided, the value should be a combination of 2-letter language code and 2-letter country code with hyphen in the middle. Please follow ISO 639-1 for language code and ISO 3166-1 alpha-2.EN-US1)If user do not provdie value; 2) If the language code cannot be found in the enumration: break by hyphen mark "-" and left part should be found in ISO-639-1 Language Code, right part should be found in ISO-3166 Country Code
8HotelSearchRSErrorInvalidLastModifyDateTimeDate time format or value is not correct. Format: YYYY-MM-DDThh:mm:ss.sss 2008-03-16T19:08:49.5891)If user provide the datetime do not follow the format given 2) If the datetime given is not exist
9HotelSearchRS / HotelDescriptiveInfoRSErrorResponseErrorInternal server error occur when responsing.  Please contact with DerbySoft customer support team. Any other exception occurs in Derbysoft server.
10HotelDescriptiveInfoRSErrorHotelCodeNotFoundThe hotelCode is not provided, attribute not given or value is empty. Origional request : <Request code Received>The hotelCode is not provided, attribute not given or value is empty. Origional request : <HotelDescriptiveInfo HotelCode="" HotelCodeContext="HILTON" >1) If user do not provide the attribute 2) If user provide the attribute but do not provide the value
11HotelSearchRS / HotelDescriptiveInfoRSErrorHotelCodeContextNotFoundThe HotelCodeContext is not provided, attribute not given or value is empty. Origional request : <Request code Received>1) The HotelCodeContext is not provided, attribute not given or value is empty. Origional request : <HotelRef HotelCodeContext="">
 2) The HotelCodeContext is not provided, attribute not given or value is empty. Origional request : <HotelDescriptiveInfo HotelCode="NYCDT" HotelCodeContext="">
1) If user do not provide the attribute 2) If user provide the attribute but do not provide the value
12HotelDescriptiveInfoRSWarningHotelUnauthorizedTrying to access the Hotel "XXXX" that have not been authorized. Trying to access the Hotel "ab098" that have not been authorized. 1) If the user is requesting the hotel cannot been found in GHR; 2) If the user is requesting a hotel that has not been authorized to.
13HotelSearchRS / HotelDescriptiveInfoRSWarningContextUnauthorizedTrying to access the context "XXXX" that have not been authorized. Trying to access the context "1010_CARLSON" that have not been authorized. 1) If the user is requesting the context cannot been found in GHR; 2) If the user is requesting a context that has not been authorized to.  3) If user is requesting the hotel and Context nither of them can be found or authorized, reply with ContextUnauthorized only.



OTA Codes

To view the OTA Codes, please download the attached file at the bottom of the article.



Tags

CategoryTagDescription
PeopleBackpackBackpackers
 BusinesspersonBusinessman/Businesswoman
 CouplesCouples
 FamilyFamily
 FemaleFemale
 GroupGroups
 InfantInfants
 LGBTLGBT
 MaleMale
 MiddleAgeMiddle Age
 MilitaryMilitary
 Over65Over 65
 SchoolSchool Group
 SingleParentSingle Parent
 SinglesSingles
 SportsTeamSports Team
 StudentStudents
 TeenTeenagers
 YoungAdultYoung Adults
 YoungChildYoung Children
InterestsAdventureAdventure
 AmusementParkAmusement Parks
 ArchitectureArchitecture
 ArtsCultureArts & Culture
 BudgetTravelBudget Travel
 CatsCats
 CookingCooking & Culinary
 DogsDogs
 EcoFriendlyEco-Friendly
 EducationalEducational
 ExperientialLocalExperiential / Local Culture
 FarmFarming
 FoodWineFood & Wine
 GambleGambling
 GardenGardens
 HealthHealth & Well Being
 HistoryHistory
 HorsesHorses
 LuxuryTravelLuxury Travel
 MountainsMountains
 MuseumsMuseums
 MusicMusic
 NationalParksNational Parks
 NightlifeNightlife
 PhotographyPhotography
 PopCulturePop Culture
 ProfSportsProfessional Sports
 RomanceRomance
 ShoppingShopping
 SightseeSightseeing
 TrendyTrendy
 WineTastingVinyards/Winetasting
SeasonFallFall
 SpringSpring
 SummerSummer
 WinterWinter
Trip PurposeBusinessBusiness
 CollegeCollege Visit
 ConferenceConference
 EscapeEscape
 FamilyVacFamily Vacation
 HoneymoonHoneymoon
 HousehuntHousehunting
 JobJob Interview
 LeisureLeisure
 MedicalMedical
 ReligiousReligious Pilgrimage
 SpecialEventSpecial Event
 TeamTravelTeam Travel
 VisitFamFriendVisit Family/Friends
 WeddingWedding
ActivitiesBicyclingBicycling
 BirdWatchBird Watching
 BoatingBoating
 CampCamping
 FishFishing
 GeocacheGeocaching
 GolfGolf
 HikeHiking
 HorsebackRideHorseback Riding
 RockClimbRock Climbing
 RunRunning
 ShopShopping
 SkiSkiing
 SnowSportsSnow Sports
 SwimSwimming
 TennisTennis
 WaterSportsWater Sports
 WhaleWatchWhale Watching



Language Codes

Language CodeLanguage Name
TI_ETTigrinya (Ethiopia)
TA_SGTamil (Singapore)
EN_NUEnglish (Niue)
EN_JMEnglish (Jamaica)
ES_BOSpanish (Bolivia)
DZ_BTDzongkha (Bhutan)
BS_BABosnian (Bosnia & Herzegovina)
EN_LREnglish (Liberia)
AR_TDArabic (Chad)
SW_UGSwahili (Uganda)
TK_TMTurkmen (Turkmenistan)
AR_EGArabic (Egypt)
YO_NGYoruba (Nigeria)
SE_NONorthern Sami (Norway)
EN_PWEnglish (Palau)
PL_PLPolish (Poland)
SR_CSSerbian (Serbia and Montenegro)
NE_INNepali (India)
AR_EHArabic (Western Sahara)
NB_SJNorwegian Bokmål (Svalbard & Jan Mayen)
ES_USSpanish (United States)
PT_MOPortuguese (Macao SAR China)
LB_LULuxembourgish (Luxembourg)
SO_KESomali (Kenya)
FR_PMFrench (St. Pierre & Miquelon)
AR_KMArabic (Comoros)
TR_TRTurkish (Turkey)
AR_MRArabic (Mauritania)
ES_DOSpanish (Dominican Republic)
KL_GLKalaallisut (Greenland)
EN_NREnglish (Nauru)
EN_AUEnglish (Australia)
EN_CYEnglish (Cyprus)
TI_ERTigrinya (Eritrea)
EN_RWEnglish (Rwanda)
LN_CDLingala (Congo - Kinshasa)
AR_ILArabic (Israel)
OR_INOdia (India)
AR_SYArabic (Syria)
TT_RUTatar (Russia)
OM_KEOromo (Kenya)
EN_ASEnglish (American Samoa)
FR_VUFrench (Vanuatu)
ZH_TWChinese (Taiwan)
SD_INSindhi (India)
PT_MZPortuguese (Mozambique)
FR_NEFrench (Niger)
EN_JEEnglish (Jersey)
LN_CFLingala (Central African Republic)
UZ_AFUzbek (Afghanistan)
EN_CXEnglish (Christmas Island)
EN_ATEnglish (Austria)
KN_INKannada (India)
EN_TZEnglish (Tanzania)
EN_PREnglish (Puerto Rico)
FR_NCFrench (New Caledonia)
GD_GBScottish Gaelic (United Kingdom)
FR_CMFrench (Cameroon)
EN_NLEnglish (Netherlands)
LN_CGLingala (Congo - Brazzaville)
AZ_AZAzerbaijani (Azerbaijan)
EL_CYGreek (Cyprus)
MR_INMarathi (India)
KU_TRKurdish (Turkey)
ES_HNSpanish (Honduras)
HU_HUHungarian (Hungary)
FF_SNFulah (Senegal)
SQ_MKAlbanian (North Macedonia)
ET_EEEstonian (Estonia)
AR_OMArabic (Oman)
FY_NLWestern Frisian (Netherlands)
TR_CYTurkish (Cyprus)
DE_ITGerman (Italy)
FR_TNFrench (Tunisia)
SR_RSSerbian (Serbia)
DE_CHGerman (Switzerland)
FR_PFFrench (French Polynesia)
PT_GQPortuguese (Equatorial Guinea)
EN_TVEnglish (Tuvalu)
EN_PNEnglish (Pitcairn Islands)
NL_NLDutch (Netherlands)
EN_GYEnglish (Guyana)
NL_CWDutch (Curaçao)
AR_DZArabic (Algeria)
PT_CHPortuguese (Switzerland)
FR_GQFrench (Equatorial Guinea)
EN_NGEnglish (Nigeria)
FR_CIFrench (Côte d’Ivoire)
KI_KEKikuyu (Kenya)
EN_PKEnglish (Pakistan)
ZH_CNChinese (China)
EN_LCEnglish (St. Lucia)
GV_IMManx (Isle of Man)
MK_MKMacedonian (North Macedonia)
EN_TTEnglish (Trinidad & Tobago)
SL_SISlovenian (Slovenia)
XH_ZAXhosa (South Africa)
FR_BEFrench (Belgium)
ES_VESpanish (Venezuela)
EN_BMEnglish (Bermuda)
NB_NONorwegian Bokmål (Norway)
VI_VNVietnamese (Vietnam)
EN_USEnglish (United States)
FR_BFFrench (Burkina Faso)
IT_SMItalian (San Marino)
FR_YTFrench (Mayotte)
GU_INGujarati (India)
FI_FIFinnish (Finland)
CA_FRCatalan (France)
FR_DJFrench (Djibouti)
HA_GHHausa (Ghana)
DE_BEGerman (Belgium)
ZH_MOChinese (Macao SAR China)
MS_MYMalay (Malaysia)
TA_LKTamil (Sri Lanka)
TG_TJTajik (Tajikistan)
QU_PEQuechua (Peru)
ES_ECSpanish (Ecuador)
LG_UGGanda (Uganda)
ZU_ZAZulu (South Africa)
RU_RURussian (Russia)
EN_DMEnglish (Dominica)
GA_IEIrish (Ireland)
EN_BIEnglish (Burundi)
EN_WSEnglish (Samoa)
FR_LUFrench (Luxembourg)
MI_NZMaori (New Zealand)
AR_ERArabic (Eritrea)
SN_ZWShona (Zimbabwe)
ES_EASpanish (Ceuta & Melilla)
GA_GBIrish (United Kingdom)
FR_SCFrench (Seychelles)
EN_SLEnglish (Sierra Leone)
NO_NONorwegian (Norway)
EN_SHEnglish (St. Helena)
DE_LUGerman (Luxembourg)
DE_DEGerman (Germany)
EN_DKEnglish (Denmark)
SO_DJSomali (Djibouti)
LT_LTLithuanian (Lithuania)
PS_PKPashto (Pakistan)
EN_UMEnglish (U.S. Outlying Islands)
EN_SIEnglish (Slovenia)
LO_LALao (Laos)
AR_LBArabic (Lebanon)
AF_ZAAfrikaans (South Africa)
FF_GNFulah (Guinea)
ES_BZSpanish (Belize)
AR_AEArabic (United Arab Emirates)
HR_HRCroatian (Croatia)
KS_INKashmiri (India)
MY_MMBurmese (Myanmar (Burma))
MN_MNMongolian (Mongolia)
UR_PKUrdu (Pakistan)
DA_DKDanish (Denmark)
EN_FMEnglish (Micronesia)
EN_BEEnglish (Belgium)
FR_WFFrench (Wallis & Futuna)
EN_SGEnglish (Singapore)
EN_SDEnglish (Sudan)
ES_SVSpanish (El Salvador)
PT_BRPortuguese (Brazil)
ML_INMalayalam (India)
EN_FKEnglish (Falkland Islands)
IS_ISIcelandic (Iceland)
EN_DGEnglish (Diego Garcia)
PT_STPortuguese (São Tomé & Príncipe)
AK_GHAkan (Ghana)
EN_SEEnglish (Sweden)
ES_ICSpanish (Canary Islands)
AR_TNArabic (Tunisia)
BM_MLBambara (Mali)
KW_GBCornish (United Kingdom)
PA_PKPunjabi (Pakistan)
UG_CNUyghur (China)
ES_BRSpanish (Brazil)
EN_SBEnglish (Solomon Islands)
RW_RWKinyarwanda (Rwanda)
AR_IQArabic (Iraq)
EN_DEEnglish (Germany)
RO_MDRomanian (Moldova)
EN_FIEnglish (Finland)
UZ_UZUzbek (Uzbekistan)
EN_SCEnglish (Seychelles)
EN_UGEnglish (Uganda)
EN_NZEnglish (New Zealand)
ES_UYSpanish (Uruguay)
RU_UARussian (Ukraine)
SG_CFSango (Central African Republic)
EN_FJEnglish (Fiji)
DE_LIGerman (Liechtenstein)
EN_BBEnglish (Barbados)
HR_BACroatian (Bosnia & Herzegovina)
DE_ATGerman (Austria)
LU_CDLuba-Katanga (Congo - Kinshasa)
SO_SOSomali (Somalia)
LV_LVLatvian (Latvia)
AR_KWArabic (Kuwait)
EN_LSEnglish (Lesotho)
EN_HKEnglish (Hong Kong SAR China)
CE_RUChechen (Russia)
KA_GEGeorgian (Georgia)
SW_TZSwahili (Tanzania)
FR_RWFrench (Rwanda)
MG_MGMalagasy (Madagascar)
OS_RUOssetic (Russia)
KY_KGKyrgyz (Kyrgyzstan)
AR_JOArabic (Jordan)
AM_ETAmharic (Ethiopia)
FR_DZFrench (Algeria)
BO_CNTibetan (China)
QU_ECQuechua (Ecuador)
EN_MSEnglish (Montserrat)
EN_GGEnglish (Guernsey)
SR_MESerbian (Montenegro)
SV_SESwedish (Sweden)
EN_ZMEnglish (Zambia)
FR_MLFrench (Mali)
HA_NGHausa (Nigeria)
AR_SAArabic (Saudi Arabia)
FA_AFPersian (Afghanistan)
OS_GEOssetic (Georgia)
EN_MTEnglish (Malta)
EN_GHEnglish (Ghana)
EN_ILEnglish (Israel)
SW_CDSwahili (Congo - Kinshasa)
IT_VAItalian (Vatican City)
ES_PHSpanish (Philippines)
ES_ESSpanish (Spain)
ES_COSpanish (Colombia)
BG_BGBulgarian (Bulgaria)
EN_VCEnglish (St. Vincent & Grenadines)
AR_SDArabic (Sudan)
HA_NEHausa (Niger)
EN_KNEnglish (St. Kitts & Nevis)
RO_RORomanian (Romania)
ES_GTSpanish (Guatemala)
FR_MGFrench (Madagascar)
ES_CLSpanish (Chile)
FA_IRPersian (Iran)
EN_MOEnglish (Macao SAR China)
EN_BZEnglish (Belize)
SQ_ALAlbanian (Albania)
EN_MPEnglish (Northern Mariana Islands)
EN_GDEnglish (Grenada)
EN_BWEnglish (Botswana)
HE_ILHebrew (Israel)
TA_MYTamil (Malaysia)
SV_FISwedish (Finland)
ND_ZWNorth Ndebele (Zimbabwe)
EN_IEEnglish (Ireland)
ZH_SGChinese (Singapore)
EN_KIEnglish (Kiribati)
OM_ETOromo (Ethiopia)
JA_JPJapanese (Japan)
FR_MFFrench (St. Martin)
MS_IDMalay (Indonesia)
SA_INSanskrit (India)
EN_SZEnglish (Eswatini)
ES_PESpanish (Peru)
EN_GBEnglish (United Kingdom)
KK_KZKazakh (Kazakhstan)
ES_PASpanish (Panama)
AR_PSArabic (Palestinian Territories)
FR_MCFrench (Monaco)
UR_INUrdu (India)
ES_GQSpanish (Equatorial Guinea)
AR_YEArabic (Yemen)
EN_SXEnglish (Sint Maarten)
RU_KZRussian (Kazakhstan)
KO_KPKorean (North Korea)
NL_SRDutch (Suriname)
EN_BSEnglish (Bahamas)
NL_BQDutch (Caribbean Netherlands)
EN_KEEnglish (Kenya)
FR_SNFrench (Senegal)
FR_MAFrench (Morocco)
PT_LUPortuguese (Luxembourg)
FR_BLFrench (St. Barthélemy)
KO_KRKorean (South Korea)
ES_MXSpanish (Mexico)
EN_SSEnglish (South Sudan)
BO_INTibetan (India)
EN_MGEnglish (Madagascar)
FR_BIFrench (Burundi)
BN_BDBangla (Bangladesh)
EN_ZAEnglish (South Africa)
FR_FRFrench (France)
PA_INPunjabi (India)
EN_MHEnglish (Marshall Islands)
FR_BJFrench (Benin)
PS_AFPashto (Afghanistan)
SK_SKSlovak (Slovakia)
WO_SNWolof (Senegal)
FR_HTFrench (Haiti)
TE_INTelugu (India)
NL_SXDutch (Sint Maarten)
FR_CGFrench (Congo - Brazzaville)
MT_MTMaltese (Malta)
EN_VUEnglish (Vanuatu)
TO_TOTongan (Tonga)
SU_IDSundanese (Indonesia)
II_CNSichuan Yi (China)
FR_REFrench (Réunion)
BN_INBangla (India)
FR_GPFrench (Guadeloupe)
UK_UAUkrainian (Ukraine)
FR_CHFrench (Switzerland)
EN_NFEnglish (Norfolk Island)
AR_SSArabic (South Sudan)
EN_GUEnglish (Guam)
NL_AWDutch (Aruba)
EN_AIEnglish (Anguilla)
EN_CMEnglish (Cameroon)
CS_CZCzech (Czechia)
CA_ESCatalan (Spain)
RM_CHRomansh (Switzerland)
RU_MDRussian (Moldova)
EN_TOEnglish (Tonga)
EN_PGEnglish (Papua New Guinea)
FR_CFFrench (Central African Republic)
PT_TLPortuguese (Timor-Leste)
EN_EREnglish (Eritrea)
SR_BASerbian (Bosnia & Herzegovina)
ES_PYSpanish (Paraguay)
FR_TGFrench (Togo)
EN_PHEnglish (Philippines)
IG_NGIgbo (Nigeria)
FR_GNFrench (Guinea)
SE_FINorthern Sami (Finland)
EN_CKEnglish (Cook Islands)
AR_MAArabic (Morocco)
EN_AGEnglish (Antigua & Barbuda)
FR_TDFrench (Chad)
FR_CDFrench (Congo - Kinshasa)
RN_BIRundi (Burundi)
EN_NAEnglish (Namibia)
CA_ITCatalan (Italy)
ID_IDIndonesian (Indonesia)
CA_ADCatalan (Andorra)
QU_BOQuechua (Bolivia)
FR_CAFrench (Canada)
SQ_XKAlbanian (Kosovo)
EN_KYEnglish (Cayman Islands)
IT_CHItalian (Switzerland)
SI_LKSinhala (Sri Lanka)
EN_AEEnglish (United Arab Emirates)
IT_ITItalian (Italy)
AR_SOArabic (Somalia)
EN_ZWEnglish (Zimbabwe)
NN_NONorwegian Nynorsk (Norway)
FR_MUFrench (Mauritius)
SE_SENorthern Sami (Sweden)
EN_TKEnglish (Tokelau)
PT_GWPortuguese (Guinea-Bissau)
MS_SGMalay (Singapore)
EE_TGEwe (Togo)
LN_AOLingala (Angola)
BE_BYBelarusian (Belarus)
PT_CVPortuguese (Cape Verde)
ES_PRSpanish (Puerto Rico)
RU_BYRussian (Belarus)
FO_DKFaroese (Denmark)
EE_GHEwe (Ghana)
AR_BHArabic (Bahrain)
HI_INHindi (India)
EN_CHEnglish (Switzerland)
FO_FOFaroese (Faroe Islands)
YO_BJYoruba (Benin)
FR_KMFrench (Comoros)
FR_MQFrench (Martinique)
ES_ARSpanish (Argentina)
EN_MYEnglish (Malaysia)
HY_AMArmenian (Armenia)
EN_GMEnglish (Gambia)
NE_NPNepali (Nepal)
TA_INTamil (India)
FR_GFFrench (French Guiana)
PT_AOPortuguese (Angola)
JV_IDJavanese (Indonesia)
RU_KGRussian (Kyrgyzstan)
FR_MRFrench (Mauritania)
AS_INAssamese (India)
ZH_HKChinese (Hong Kong SAR China)
SW_KESwahili (Kenya)
TH_THThai (Thailand)
EN_MWEnglish (Malawi)
EN_IOEnglish (British Indian Ocean Territory)
AR_QAArabic (Qatar)
EN_CCEnglish (Cocos (Keeling) Islands)
PT_PTPortuguese (Portugal)
ES_CUSpanish (Cuba)
EN_VIEnglish (U.S. Virgin Islands)
EU_ESBasque (Spain)
EL_GRGreek (Greece)
DA_GLDanish (Greenland)
KM_KHKhmer (Cambodia)
ES_CRSpanish (Costa Rica)
FR_GAFrench (Gabon)
AR_LYArabic (Libya)
EN_MUEnglish (Mauritius)
GL_ESGalician (Spain)
EN_IMEnglish (Isle of Man)
EN_GIEnglish (Gibraltar)
EN_CAEnglish (Canada)
FR_SYFrench (Syria)
SO_ETSomali (Ethiopia)
NL_BEDutch (Belgium)
AR_DJArabic (Djibouti)
CY_GBWelsh (United Kingdom)
EN_VGEnglish (British Virgin Islands)
EN_TCEnglish (Turks & Caicos Islands)
SV_AXSwedish (Åland Islands)
AF_NAAfrikaans (Namibia)
EN_INEnglish (India)
ES_NISpanish (Nicaragua)
SD_PKSindhi (Pakistan)
MS_BNMalay (Brunei)
BR_FRBreton (France)