TABLE OF CONTENTS


Data Type Format

Data TypeFormatExample
monthDay--MM-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- or 3-letter (usually lowercase) language code that conforms to ISO 639, followed by a hyphen and a two-letter, (usually uppercase) 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, example: en-us.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, example: en-us.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

Refers to OpenTravel API Codes. 



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