bookingIdstringrequired
Get booking details
Retrieve details of a specific booking.
get
https://api.example.com/v1/bookings/{bookingId}
Path Parameters
Response
200 application/json
Response
200 application/json
Booking details
BookingResponse
bookingIdstring
flightobject
Show Child Parameters
passengerobject
Show Child Parameters
statusstring
Allowed values:confirmedpendingcanceled
200 application/json
Flight
objectidstring
airlinestring
flight_numberstring
originstring
destinationstring
departure_timestring(date-time)
arrival_timestring(date-time)
pricenumber(float)
Example
BookingRequest
objectflightIdstring
passengerobject
Show Child Parameters
Example
BookingResponse
objectbookingIdstring
flightobject
Show Child Parameters
passengerobject
Show Child Parameters
statusstring
Allowed values:confirmedpendingcanceled
Example