TFDi Design Icon
TFDi Design
VA APIFlightsBook

Book Flight

Book a flight based on an existing schedule

POST
/flights/book

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/flights/book" \  -H "Content-Type: application/json" \  -d '{    "flightID": 0,    "aircraftID": 0  }'
{  "bidID": 0}