Book Response in Case of Price Change and/ or Cancellation Policy Change
|
Level
|
Element
|
Format
|
Comments
|
Mandatory/ Optional
|
1
|
Status
|
Enumeration
|
Booking status
|
Mandatory
Possible values can be 3 – VerifyPrice
|
2
|
HotelBookingStatus
|
String
|
Booking status description
|
Mandatory
Possible values can be - VerifyPrice
|
3
|
BookingId
|
String
|
Unique booking id of the successful booking
|
Mandatory
(Would be null)
|
4
|
BookingRefNo
|
Integer
|
Booking Reference Number
|
Mandatory
(Would be null)
|
5
|
ConfirmationNo
|
String
|
Unique confirmation number of the successful booking
|
Mandatory
(Would be null)
|
6
|
IsPriceChanged
|
Boolean
|
Represent if price is changed or not
|
Mandatory
(Would be set true, if there is a price change.
Would be set as false, if there is no price change)
|
7
|
IsCancellationPolicyChang ed
|
Boolean
|
Represent if cancellation policy is changed or not
|
Mandatory
(Would be set true, if there is a change in cancellation policy.
Would be set as false, if there is no change in cancellation policy.)
|
8
|
HotelRoomDetails
|
Array
|
Array of hotel room details
|
|
8.1
|
RoomIndex
|
Integer
|
Index of the room
|
Mandatory
|
8.2
|
RatePlanCode
|
String
|
Rate plan code associated with room
|
Mandatory
|
8.3
|
RatePlanName
|
String
|
Name of the Rate plan associated with room
|
Optional
|
8.4
|
RoomTypeCode
|
String
|
Room Type Code
|
Mandatory
|
8.5
|
RoomTypeName
|
String
|
Room Type Name
|
Optional
|
8.6
|
InfoSource
|
String
|
Shows the format to select possible multiple room combinations to book
|
Mandatory
Possible values can be FixedCombination, OpenCombination.
|
8.7
|
SequenceNo
|
String
|
Sequence Number of the Room
|
Optional
|
8.8
|
DayRates
|
Array
|
Per day rate breakup of the room
|
|
8.8.1
|
Amount
|
Decimal
|
Per day price of the room
|
Mandatory
|
8.8.2
|
Date
|
Date
|
Date for which day rate is applicable
|
Mandatory
|
8.8.3
|
Price
|
Array
|
Price detail of the room
|
|
8.8.4
|
CurrencyCode
|
String
|
Currency in which minimum hotel price is returned
|
Mandatory
|
8.8.5
|
RoomPrice
|
Decimal
|
Price of the room
|
Mandatory
|
8.8.6
|
Tax
|
Decimal
|
Tax applicable for the room
|
Mandatory
|
8.8.7
|
ExtraGuestCharge
|
Decimal
|
Extra Guest Charges applicable for the room
|
Mandatory
|
8.8.8
|
ChildCharge
|
Decimal
|
Child Charges applicable for the room
|
Mandatory
|
8.8.9
|
OtherCharges
|
Decimal
|
Other Charges applicable for the room
|
Mandatory
|
8.8.10
|
Discount
|
Decimal
|
Discount applicable for the room
|
Mandatory
(Currently not in use)
|
8.8.11
|
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)
|
8.8.12
|
PublishedPriceRoundedOf f
|
Integer
|
Published Price (rounded off) of the room
|
Mandatory
(This price is for display purpose only)
|
8.8.13
|
OfferedPrice
|
Decimal
|
Offered Price of the room
|
Mandatory
|
8.8.14
|
OfferedPriceRoundedOff
|
Integer
|
Offered Price (rounded off) of the room
|
Mandatory
(This price is for display purpose only)
|
8.8.15
|
AgentCommission
|
Decimal
|
Commission applicable on the Room Price
|
Mandatory
(TBO will part this amount if Room Price is on Published)
|
8.8.16
|
AgentMarkUp
|
Decimal
|
Agent Mark Up applicable on the Room Price
|
Mandatory
(Agent will earn this amount if Hotel markup is set from backend)
|
8.8.18
|
TDS
|
Decimal
|
TDS applicable on Commission Earned
|
Mandatory
(This would be deducted only when commission is parted to the agent)
|
8.9
|
RoomPromotion
|
String
|
Room promotion applicable for the room
|
Optional
|
8.10
|
SmokingPreference
|
Enumeration
|
Smoking Preference associated with room
|
Mandatory
- SmokingPreference NoPreference = 0,
Smoking = 1,
NonSmoking = 2,
Either = 3
|
8.11
|
Amenities
|
StringList
|
List of room amenities
|
Optional
|
8.12
|
BedTypes
|
Array
|
Array of bed types
|
|
8.12.1
|
BedTypeCode
|
Integer
|
Bed type code
|
Mandatory
|
8.12.2
|
BedTypeDescription
|
String
|
Bed type description
|
Optional
|
8.13
|
Supplements
|
StringList
|
List of supplements
|
Mandatory
|
8.14
|
SupplierSpecificData
|
String
|
Supplier Specific Data
|
Optional
|
8.15
|
CancellationPolicies
|
Array
|
Array of cancellation policies
|
Mandatory
|
8.15.1
|
Charge
|
Decimal
|
Cancellation charge
|
Mandatory
(Contains amount in case of Amount, Percentage value in case of Percentage, No of nights in case of Night)
|
8.15.2
|
ChargeType
|
Enumeration
|
Cancellation charge type
|
Mandatory
- CancellationPolicies
- ChargeType
Amount = 1,
Percentage = 2,
Nights = 3
|
8.15.3
|
BaseCurrency
|
String
|
Base currency of Cancellation charge
|
Mandatory
(Default currency would be INR)
|
8.15.4
|
FromDate
|
Date
|
Date from which charges will apply
|
Mandatory
Format: (dd/mm/yyyy)
|
8.15.5
|
ToDate
|
Date
|
Date up to which charges will apply
|
Mandatory
Format: (dd/mm/yyyy)
|
8.16
|
CancellationPolicy
|
String
|
Cancellation policy in text format
|
Mandatory
(Format: Text)
|
8.17
|
LastCancellationDate
|
Date
|
Last Cancellation Date
|
Mandatory
(No cancellation charge will be applied up to this date. If the date is less than book date then cancellation charge will be applicable as per policy) Format: (dd/mm/yyyy)
|
8.18
|
ResponseStatus
|
Enumeration
|
Response status
|
Mandatory
NotSet = 0,
Successfull = 1,
Failed = 2,
InValidRequest = 3,
InValidSession = 4,
InValidCredentials = 5
|
8.19
|
Error
|
|
|
Mandatory
|
8.19.1
|
ErrorCode
|
Integer
|
Code corresponding to the Error
|
Mandatory
|
8.19.2
|
ErrorMessage
|
String
|
Contains error message
|
Mandatory
(Will contain error description corresponding to ErrorCode. Error Message would be blank
in case ErrorCode=0)
|