v1

latestOpenAPI 3.0.12026-07-2626261190.5 KB
Hotel

post/api/hotel/{hotelId}/{token}/book

Path parameters

hotelIdstring required
tokenstring required

Headers

accountIdstring required

A custom header for all requests

apiKeystring required

apiKey

Request body

rateIdsstring[] nullable
originalBookingIdstring nullable
bookingRefIdstring nullable
specialRequestsstring[] nullable
transactionIdstring nullable
paymentStatusstring nullable
totalRatenumber double
domainstring nullable
loggedInUserEmailstring nullable
guestNamesstring nullable
paymentDueDatestring date-time nullable
travelPurpose'Leisure' | 'Business'

Response

Success

tokenstring nullable
bookingStatus'Confirmed' | 'Pending' | 'Failed' | 'Planned' | 'Cancelled' | 'ConfirmationPending' | 'CancellationPending' | 'Created' | 'Initiated' | 'CancellationFailed' | 'ChangeRequested' | 'CancellationRequested'
bookingIdstring nullable
providerConfirmationNumberstring nullable
hotelConfirmationNumberstring nullable
cancellationTokenstring nullable
supplierBookingPaymentDatestring nullable
supplierBookingReferencestring nullable