🛫 Flights
List of all flights
GET /api/external/flight/flights
Returns a list of all operator's flights between 2 dates
Parameter Dates from and to are UTC time and are counted against blocks off estimated UTC.
Time is not supported
2022-11-15 added new parameters:
&include=ALL → include all flights
&include=NON_CANCELED (or simply not specifying this parameter to preserve compatibility) → existing behavior, canceled ones are filtered
&timeZone=UTC → will read the from & to as UTC dates
By default, it uses the server's timezone, which is CET.
Included in the payload;
• All active flights with the scheduled date of departure within the requested date range
• Canceled flights are filtered out
[
{
"flightId": 600938,
"bookingReference": "2950497",
"userReference": null,
"accountReference": null,
"flightNumber": "QQE576",
"flightNumberCompany": "248-QQE576",
"flightType": "PAX",
"aircraftCategory": "GLF6",
"registrationNumber": "A7-CGG",
"blocksonestimated": "2022-08-10T16:30:00.000Z",
"blocksoffestimated": "2022-08-10T09:30:00.000Z",
"airportFrom": "WMKK",
"airportTo": "OTBD",
"paxReferences": [
{
"paxType": "MALE",
"documentExternalReference": "64355354",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "S20435346",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "T176544",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "Z5356356",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "012312643",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "01453455",
"isMain": true,
"links": []
}
],
"rescheduledDateFrom": null,
"rescheduledDateTo": null,
"realAirportFrom": "WMKK",
"realAirportTo": "OTBD",
"realDateOUT": "2022-08-10T11:00:00.000Z",
"realDateOFF": "2022-08-10T11:11:00.000Z",
"realDateON": "2022-08-10T17:42:00.000Z",
"realDateIN": "2022-08-10T17:49:00.000Z",
"customerId": "680304",
"customerTrigram": null,
"customerFirstname": "Alexandre",
"customerLastname": null,
"dateFrom": "2022-08-09 22:00",
"dateTo": "2022-08-19 22:00",
"flightStatus": "On Block",
"fplType": "N",
"workflow": "CHARTER",
"workflowCustomName": "Charter",
"fuelRemainigActual": 8950.0,
"upliftMass": 8083.94,
"fuelArrival": 5850.0,
"fuelMassUnit": "POUND",
"fuelOffBlock": 25400.0,
"status": "AUTO",
"tripNumber": null,
"paxNumber": 6,
"requestedAircraftType": null,
"postFlightClosed": true,
"bookingIdentifier": "XNOMF",
"operator": {
"id": 333,
"name": "Elite Wings"
},
"aircraftAOC": {
"name": "Elite Wings",
"id": 119016
}
},
{
"flightId": 595531,
"bookingReference": "2949345",
"userReference": null,
"accountReference": null,
"flightNumber": "TRAV SIM",
"flightNumberCompany": "248-TRAV SIM",
"flightType": "POS",
"aircraftCategory": "C150",
"registrationNumber": "DHD",
"blocksonestimated": "2022-08-03T03:50:00.000Z",
"blocksoffestimated": "2022-08-02T04:10:00.000Z",
"airportFrom": "OTHH",
"airportTo": "KSAV",
"paxReferences": [],
"rescheduledDateFrom": null,
"rescheduledDateTo": null,
"realAirportFrom": "OTHH",
"realAirportTo": "KSAV",
"realDateOUT": null,
"realDateOFF": null,
"realDateON": null,
"realDateIN": null,
"customerId": null,
"customerTrigram": null,
"customerFirstname": null,
"customerLastname": null,
"dateFrom": "2022-08-01 22:00",
"dateTo": "2022-08-02 22:00",
"flightStatus": "None",
"fplType": "X",
"workflow": "TRAINING",
"workflowCustomName": "Training",
"fuelRemainigActual": null,
"upliftMass": null,
"fuelArrival": null,
"fuelMassUnit": "KILOGRAM",
"fuelOffBlock": null,
"status": "AUTO",
"tripNumber": null,
"paxNumber": 0,
"requestedAircraftType": null,
"postFlightClosed": false,
"bookingIdentifier": "VIAKZ",
"operator": {
"id": 333,
"name": "Elite Wings"
},
"aircraftAOC": {
"name": "Elite Wings",
"id": 127123
}
},
{
"flightId": 595525,
...
Basic flight details
GET /api/external/flight/{flightId}
You can find the {flightId} calling the endpoint in "List of all flights" ("flightId": 600938)
{
"flightId": 600938,
"bookingReference": "2950497",
"userReference": null,
"accountReference": null,
"flightNumber": "QQE576",
"flightNumberCompany": "248-QQE576",
"flightType": "PAX",
"aircraftCategory": "GLF6",
"registrationNumber": "A7-CGG",
"blocksonestimated": "2022-08-10T16:30:00.000Z",
"blocksoffestimated": "2022-08-10T09:30:00.000Z",
"airportFrom": "WMKK",
"airportTo": "OTBD",
"paxReferences": [
{
"paxType": "MALE",
"documentExternalReference": "64355354",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "S20435346",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "T176544",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "Z5356356",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "012312643",
"isMain": true,
"links": []
},
{
"paxType": "MALE",
"documentExternalReference": "01453455",
"isMain": true,
"links": []
}
],
"rescheduledDateFrom": null,
"rescheduledDateTo": null,
"realAirportFrom": "WMKK",
"realAirportTo": "OTBD",
"realDateOUT": "2022-08-10T11:00:00.000Z",
"realDateOFF": "2022-08-10T11:11:00.000Z",
"realDateON": "2022-08-10T17:42:00.000Z",
"realDateIN": "2022-08-10T17:49:00.000Z",
"customerId": "680304",
"customerTrigram": null,
"customerFirstname": "Alexandre",
"customerLastname": null,
"dateFrom": null,
"dateTo": null,
"flightStatus": "On Block",
"fplType": "N",
"workflow": "CHARTER",
"workflowCustomName": "Charter",
"fuelRemainigActual": 8950.0,
"upliftMass": 8083.94,
"fuelArrival": 5850.0,
"fuelMassUnit": "POUND",
"fuelOffBlock": 25400.0,
"status": "AUTO",
"tripNumber": null,
"paxNumber": 6,
"requestedAircraftType": null,
"postFlightClosed": true,
"bookingIdentifier": "XNOMF",
"operator": {
"id": 333,
"name": "Elite Wings"
},
"aircraftAOC": {
"name": "Elite Wings",
"id": 119016
},
"alternateDepartureAirport": null,
"alternateFirstArrivalAirport": null,
"alternateSecondArrivalAirport": null
}
Further Flight Details
GET /api/external/flight/{flightId}/notification
GET /api/external/flight/{flightId}/passenger
GET /api/external/flight/{flightId}/planningnote
GET /api/external/flight/{flight}/postflight
GET /api/external/flight/{flight}/preflight
GET /api/external/flight/{id}/pax_details
FBO & Services
GET /api/external/flight/{flightid}/services
- Handling (FBO)
- Gnd Transport
- Hotac
- Catering
HandlingAndServicesDto {
aircraftId (integer, optional),
arrivalHandler (HandlerDto, optional),
departureGroundTransportation (Array[GroundTransportationDto], optional),
departureHandler (HandlerDto, optional),
Updated 2 months ago