Check Rate API
This is an important step following the availability API request. Here, you need to provide the details of the specific room you intend to book.
This API should be invoked to reconfirm the rate details and obtain the cancellation policy, as well as any associated rate comments.
API details
POST
/api/v1/hotel/booking-api/check-rate/rooms
Headers
Content-Type
application/json
Authorization
Bearer <token>
Accept-Encoding
gzip
Body
hotelId
Integer
HotelId
tokenNumber
String
Unique code for an availability request received from availability response.
rateKey
String
Unique key of the specific room received from availability response
fromDate
String
checkin date
toDate
String
checkout date
noOfAdults
Integer
No of adults in a room
noOfChildren
Integer
No of children in a room
childrenAges
Array
Age of each children in a room
nationality
String
nationality of the guest
Response details
Response General data
tokenNumber
String
Unique code for an availability request.
fromDate
String
Checkin Date
toDate
String
Check out Date
nationality
String
Guest Nationality ISO code
roomPaxes
Array
roomPaxes.noOfAdults roomPaxes.noOfChildren roomPaxes.childrenAges[]
noOfNights
Integer
Total stay nights
Response Guest required data
roomId
Integer
room number
type
String
guest type data
ageRequired
boolean
true
: Mandatory to pass guest age
genderRequired
boolean
true
: Mandatory to pass guest gender
Response Hotel data
hotelId
Integer
Unique Id for the hotel
hotelName
String
Name of the hotel
Response Room data
rateKey
String
Unique Id for the specific rate
standardName
String
Name of the room provided by room mapping provider
roomName
String
Name of the room provided by supplier
roomMaster
Boolean
true
: if room details available in room master
false
: If room details not available in room master
roomMasterCode
String
Unique room code for mapping from room master
boardName
String
Name of the board type
boardMaster
Boolean
true
: if board details available in board master
false
: If board details not available in board master
boardMasterId
Integer
Unique board code for mapping from board master
occupancies
Array
occupancies.name occupancies.maxCount
cancellationPolicies
Array
cancellationPolicies.from
: Date from which the policy comes in effect
cancellationPolicies.amount
: charge
rateComments
String
Important info to be displayed to guest before booking
netPrice
Number
Total price
Last updated