0.3.0OAS 3.0

KongAir Bookings service provides customers the ability to book and retrieve flight bookings on KongAir

API Base URL
  • Server 1:https://api.kong-air.com

    KongAir API Server

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

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

Defines a Booking Request

BookingRequest

A flight Booking Request object

flight_numberstringrequired
seatstring

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

Get a booking by ticket number

Returns one booking owned by the authenticated customer

get
https://api.kong-air.com/bookings/{ticketNumber}

Path Parameters

ticketNumberstringrequired

Ticket number of the booking to retrieve

Response

application/json

Successful response

Booking

A flight Booking object

flightobjectrequired
Show Child Parameters
seatstring
ticket_numberstringrequired
get/bookings/{ticketNumber}
 
application/json