Getting Started
APIs
Sign up
Log in
Search
K
Log in
Sign up
Docs
KongAir Bookings API
Copy page
More actions
View as Markdown
View page as Markdown
Download spec
JSON
Download spec as JSON
YAML
Download spec as YAML
Create a new customer booking
post
https://kong-963acb42fausl4p8k.kongcloud.tech
/bookings
Body
application/json
BookingRequest
flight_number
string
required
seat
string
Response
201
application/json
Booking Created Successfully
BookingResponse
ticket_number
string
required
post
/bookings
Try It!
Path Parameters
Query Parameters
Headers
Body
{ "flight_number": "KA924", "seat": "32A" }
Shell
Example new booking request body
201
application/json
Booking
object
ticket_number
string
required
flight
object
required
Show Child Parameters
seat
string
Example
BookingRequest
object
flight_number
string
required
seat
string
Example
BookingResponse
object
ticket_number
string
required
Example