v1

latestOpenAPI 3.0.12026-07-2626261190.5 KB
Booking

Book the selected room and rate.

Book the selected rate for a given hotel, pass the token received in the price response as part of booking request

post/api/v1/book

Headers

api-keystring required

Api Key for authentication

customer-idstring required

Customer Id

affiliate-idstring required

Affiliate Id

user-ipstring required

End user IP

correlation-idstring required

Guid based id used for tracing purpose

Request body

hotelIdstring required

Priced rate hotel id

priceResponseTokenstring required

Price Response Token

bookingIdstring required

Booking Id as passed by consumer

specialRequestsstring[] nullable

Any special requests to be passed while booking rooms

checkInDatestring date-time

Hotel Check in Date

checkOutDatestring date-time

Hotel Check out Date

Response

Success

bookingStatus'Confirmed' | 'Pending' | 'Failed' | 'Planned' | 'ConfirmationPending' | 'Created' | 'Initiated'
bookingIdstring

Unique booking identifier, to be used for retrieving, cancelling bookings

providerConfirmationNumberstring

Confirmation number from provider

hotelConfirmationNumberstring nullable

Hotel conifrmation number

cancellationTokenstring

Token to be used in cancellation request