KongAir Bookings
Health check endpoint
Endpoint that returns the service health status.
get
https://api.kong-air.com/health
Response
application/json
Response
application/json
Service is healthy
statusstring
Example:OK
get/health
application/json
sales
Customer sales endpoints
Get a customers current bookings
Returns a list of bookings for the customer
get
https://api.kong-air.com/bookings
Response
application/json
Response
application/json
Successful Response
A flight Booking object
flightobjectrequired
Show Child Parameters
seatstring
ticket_numberstringrequired
get/bookings
application/json
Create a new customer booking
Creates a new booking for the customer
post
https://api.kong-air.com/bookings
Body
application/json
Body
application/json
Defines a Booking Request
BookingRequest
A flight Booking Request object
flight_numberstringrequired
seatstring
Response
application/json
Response
application/json
Booking Created Successfully
BookingResponse
A flight Booking Request Response object
ticket_numberstringrequired
post/bookings
Body
{
"flight_number": "KA924",
"seat": "32A"
}
application/json
Booking
objectA flight Booking object
flightobjectrequired
Show Child Parameters
seatstring
ticket_numberstringrequired
Example