Create Bookings or Quotes

Post a quote request

POST api/external/quote

Post a Confirmed Quote (Booking)

POST api/external/quote/book

FL3XX creates this Booking – read the json response, file the leg ids and flight ids.

  • With Legs (sales) – each leg ~ legId
  • With Flights (dispatch) – each flight ~ flightId

Example Payload Request:

{
	"aircraft":"N-TAIL",
	"customer":{
  	"lastName":"Tester",
  	"firstName":"Albert",
  	"email":"[email protected]",
  	"account":{
     	"name":"FL3XX Travel"
  	}
   },
   "legs":[
  	{
     	"departureAirport":"CYOW",
     	"departureDateUTC":"2022-01-20T00:07:00.000Z",
     	"arrivalAirport":"CYYR",
     	"arrivalDateUTC":"2022-01-20T09:38:00.000Z",
     	"pax":2,
     	"planningNotes":"Free text string - add whatever you wish."
  	},
  	{
     	"departureAirport":"CYYR",
     	"departureDateUTC":"2022-01-21T00:07:00.000Z",
     	"arrivalAirport":"CYOW",
     	"arrivalDateUTC":"2022-01-21T09:38:00.000Z",
     	"pax":4,
     	"planningNotes":"Free text string - add whatever you wish."
  	}
   ],
   "workflow":"CHARTER",
   "comment":"Free text string - add whatever you wish."
}

Dates

Upon first creation, there is no need to specify the arrival date and time. FL3XX will calculate automatically. This is not valid when modifying the departure date, which need input from the user for the new arrival date.

"arrivalDateUTC":"2022-01-20T09:38:00.000Z",

Contacts

Make sure to add last name, first name, email, and the related account, so that FL3XX correctly and surely adds to the existing Person/Account, and won’t create a new Person.

"lastName":"TestLastName",
"firstName":"Alex",
"email":"[email protected]",
"account":{
"name":"FL3XX Travel"
}

  • Planning notes per leg/flight → Dispatch ~ to prepare the flights
  • Comment → Internal Comments in Sales - for the entire Booking

To add passengers: Docs