Book Request

Book Request

Element
Format
Meaning
Mandatory/Optional
ResultIndex
Integer
Result Index
Mandatory
HotelCode
String
Unique hotel code
Mandatory (HotelCode to be echoed back in further requests)
HotelName
String
Unique hotel Name
Mandatory
GuestNationality
String
ISO Country Code (Ex. India = IN, Great Britain = GB)
Mandatory
NoOfRooms
Integer
Requested number of rooms
Mandatory
HotelRoomDetails
Array
Array of hotel room details
Mandatory
RoomIndex
Integer
Index of the room
Mandatory
RoomTypeCode
String
Room Type Code
Mandatory
RoomTypeName
String
Room Type Name
Mandatory
RatePlanCode
String
Rate plan code associated with room
Mandatory
RatePlanName
String
Name of the Rate plan associated with room
Optional
BedTypeCode
Integer
Bed type code
Mandatory
SmokingPreference
Enumeration
Smoking Preference associated with room
Mandatory - SmokingPrefe rence NoPreference = 0, Smoking = 1, NonSmoking = 2, Either = 3
Supplements
StringList
List of supplements
Mandatory
Price[]
Array
Price Array
Mandatory (Minimum price of the hotel rooms)
CurrencyCode
String
Currency in which minimum hotel price is returned
Mandatory
RoomPrice
Decimal
Price of the room
Mandatory
Tax
Decimal
Tax applicable for the room
Optional
ExtraGuestCharge
Decimal
Extra Guest Charges applicable for the room
Optional
ChildCharge
Decimal
Child Charges applicable for the room
Optional
OtherCharges
Decimal
Other Charges applicable for the room
Optional
Discount
Decimal
Discount applicable for the room
Optional (Currently not in use)
PublishedPrice
Decimal
Published Price of the room
Mandatory (This price would be different only if Room Price is on PUBLISHED. In case of NET, Published Price would be same as Offered Price)
PublishedPriceRounde dOff
Integer
Published Price (rounded off) of the room
Mandatory (This price is for display purpose only)
OfferedPrice
Decimal
Extra Guest Charges applicable for the room
Optional
ExtraGuestCharge
Decimal
Offered Price of the room
Mandatory
OfferedPriceRounded O
Integer
Offered Price (rounded off) of the room
Mandatory (This price is for display purpose only
AgentCommission
Decimal
Commission applicable on the Room Price
Optional
AgentMarkUp
Decimal
Agent Mark Up applicable on the Room Price
Optional (Agent will earn this amount if Hotel markup is set from backend)
ServiceTax
Decimal
Service tax applicable for the room
Optional
TDS
Array
Array of guest details for in the particular room as requested in hotel search
Title
String
Title of the guest
Mandatory Possible values can be Mr, Mrs, Miss, Ms
FirstName
String
First name of the guest
Mandatory (Min 2 chars, Max 50 chars and no special character)
MiddleName
String
Middle name of the guest
Optional
LastName
String
LastName of the guest
Mandatory (Min 2 chars, Max 50 chars and no special character)
Phoneno
String
Phone number
Optional
Email
String
Email id
Optional
PaxType
Enumeration
Guest Type
Mandatory - HotelPassenger - PaxType Adult = 1, Child = 2
LeadPassenger
Boolean
Represent the lead guest of the booking
Mandatory (Set true if the guest is a lead passenger. Set false, if the guest is not a lead passenger)
Age
Integer
Age of the guest
Mandatory * (only for child and age should be <= 18 years)
PassportNo
String
Passport No
Optional
PassportIssueDate
Date
Passport Issue Date
Optional(provide in minimum date time format “0001-01- 01T00:00:00:00” )
PassportExpDate
Date
Passport Expiry Date
Optional(provide in minimum date time format “0001-01- 01T00:00:00:00” )
UserIp
String
IP Address of the end user
Mandatory
Search_Token
String
Search Token ID
Mandatory