v1
latestOpenAPI 3.0.52026-07-178416.4 KBtenants
Book a new flight for a user
put/api/tenants/{tenant}/user/{username}/flights
Path parameters
tenantstring required
Tenant agent name
usernamestring required
Username
Request body
Example request
{
"flights": [
{
"date": "12/12/2020",
"destinationairport": "Leonardo Da Vinci International Airport",
"flight": "12RF",
"name": "boeing",
"price": 50,
"sourceairport": "London (Gatwick)"
}
]
}Response
Returns flight data and query context information