v1

latestOpenAPI 3.0.12026-07-2626261190.5 KB
Booking

Retrieve the booking details of a booking

Retrieve the booking details of a booking.

get/api/v1/book/{bookingId}

Path parameters

bookingIdstring required

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

Response

Success

bookingIdstring

Booking Id

bookingStatus'Confirmed' | 'Pending' | 'Failed' | 'Planned' | 'ConfirmationPending' | 'Created' | 'Initiated'
cancellationStatus'Pending' | 'Failed' | 'CancellationPending' | 'Cancelled'
providerConfirmationNumberstring

Confirmation number received from provider

hotelConfirmationNumberstring nullable

Hotel Confirmation number

hotelCancellationNumberstring nullable

Hotel Cancellation number

providerCancellationNumberstring nullable

Provider cancellation number

creationDatestring date-time

Date time when the booking was done

cancellationDatestring date-time nullable

Date time when the booking was cancelled

tripStartDatestring date-time

Trip start date

tripEndDatestring date-time

Trip end date

cancellationTokenstring nullable

Cancellation Token to be used for cancelling booking

totalRatenumber double

Total Booking Rate

currencystring nullable

Booking Currency

correlationIdstring nullable

Booking Correlation Id