Level
|
Element
|
Format
|
Comments
|
Mandatory/ Optional
|
1
|
HotelInfoResult
|
|
|
Mandatory
|
1.1
|
HotelDetails
|
|
|
Mandatory
|
1.1.1
|
HotelCode
|
String
|
Unique hotel code
|
Mandatory
|
1.1.2
|
HotelName
|
String
|
Unique hotel name
|
Mandatory
|
1.1.3
|
StarRating
|
Enumeration
|
Star Rating of the hotel
|
Mandatory
- StarRating
All = 0,
OneStar = 1,
TwoStar = 2,
ThreeStar = 3,
FourStar = 4,
FiveStar = 5
|
1.1.4
|
HotelURL
|
String
|
Website url of the hotel
|
Optional
|
1.1.5
|
Description
|
String
|
Description of the hotel
|
Mandatory
|
1.1.6
|
Attractions
|
StringArray
|
Array of the attractions associated with the hotel
|
Optional
|
1.1.7
|
HotelFacilities
|
StringList
|
List of hotel facilities
|
Optional
|
1.1.8
|
HotelPolicy
|
String
|
Hotel policy details
|
Optional
|
1.1.9
|
SpecialInstructions
|
String
|
Special Instructions
|
Optional
|
1.1.10
|
HotelPicture
|
String
|
Url of hotel image
|
Optional
|
1.1.11
|
Images
|
StringList
|
Url of images of the hotel
|
Mandatory
|
1.1.12
|
Address
|
String
|
Address of the hotel
|
Optional
|
1.1.13
|
CountryName
|
String
|
Destination country name
|
Optional
|
1.1.14
|
PinCode
|
String
|
Pin code of the hotel
|
Optional
|
1.1.15
|
HotelContactNo
|
String
|
Contact Number of the hotel
|
Optional
|
1.1.16
|
FaxNumber
|
String
|
Fax Number of the hotel
|
Optional
|
1.1.17
|
Email
|
String
|
Email address of the hotel
|
Optional
|
1.1.18
|
Latitude
|
String
|
Latitude information of the hotel
|
Optional
|
1.1.19
|
Longitude
|
String
|
Longitude information of the hotel
|
Optional
|
1.1.20
|
RoomData
|
String
|
Room Data
|
Optional
|
1.1.21
|
RoomFacilities
|
StringList
|
List of hotel facilities
|
Optional
|
1.1.22
|
Services
|
String
|
Services of the hotel
|
Optional
|
1.2
|
ResponseStatus
|
Enumeration
|
Response status
|
Mandatory
NotSet = 0,
Successfull = 1,
Failed = 2,
InValidRequest = 3,
InValidSession = 4,
InValidCredentials = 5
|
1.3
|
Error
|
|
|
Mandatory
|
1.3.1
|
ErrorCode
|
Integer
|
Code corresponding to the Error
|
Mandatory
|
1.3.2
|
ErrorMessage
|
String
|
Contains error message
|
Mandatory
(Will contain error description corresponding to ErrorCode. Error Message would be blank in case ErrorCode=0)
|