FL3XX API allows partners to access flight information, airport details, and a vast array of aviation services.
FL3XX API allows partners to access flight information, airport details, and a vast array of aviation services.
curl -i -X GET \
'https://developer.fl3xx.com/_mock/reference/api/external/staff/crew?modifiedSince=2019-08-24T14%3A15%3A22Z' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE'
[ { "account": { … }, "allowance": 0, "allowanceDomestic": 0, "allowancePaymentSchema": "PER_HOUR", "assignments": [ … ], "birthCountry": "string", "birthDate": "2019-08-24", "birthPlace": "string", "email": "string", "employedSince": "2019-08-24T14:15:22Z", "employedUntil": "2019-08-24T14:15:22Z", "externalReference": "string", "firstName": "string", "flightHours": { … }, "gender": "FEMALE", "homeAirport": { … }, "idCards": [ … ], "jobTitle": "string", "lastName": "string", "logName": "string", "luggageUnit": "KILOGRAM", "luggageWeight": 0.1, "maxBlockHoursPerMonth": 0, "middleName": "string", "mobile": "string", "nationality": "string", "operator": { … }, "personnelNumber": "string", "phone": "string", "pilotId": 0, "pilotOnAircraft": [ … ], "radiationProtectionRegistryId": "string", "roles": { … }, "salutation": "Mr", "status": "ACTIVE", "trigram": "string", "userQualifications": [ … ], "weight": 0.1, "weightUnit": "KILOGRAM" } ]
curl -i -X GET \
'https://developer.fl3xx.com/_mock/reference/api/external/staff/crew/{reference}' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE'
{ "account": { "accountNumber": 1111, "accountid": 1111, "email": "email@fl3xx.com", "externalReference": "669665849-f120-4f65-6325-11111", "internalId": 632123, "mobile": 111111111, "name": "Account", "notes": "Notes", "phone": 111111111, "vatNumber": "A11111111111", "address": { … }, "links": { … } }, "allowance": 0, "allowanceDomestic": 0, "allowancePaymentSchema": "PER_HOUR", "assignments": [ { … } ], "birthCountry": "string", "birthDate": "2019-08-24", "birthPlace": "string", "email": "string", "employedSince": "2019-08-24T14:15:22Z", "employedUntil": "2019-08-24T14:15:22Z", "externalReference": "string", "firstName": "string", "flightHours": { "multiEngine": 0, "pic": 0, "picMultiEngine": 0, "picSingleEngine": 0, "singleEngine": 0, "total": 0 }, "gender": "FEMALE", "homeAirport": { "aid": "APT-QAPF-UXNM", "faa": "null", "iata": "null", "icao": "OTBD", "id": 22024, "localIdentifier": "null", "name": "Doha International Airport" }, "idCards": [ { … } ], "jobTitle": "string", "lastName": "string", "logName": "string", "luggageUnit": "KILOGRAM", "luggageWeight": 0.1, "maxBlockHoursPerMonth": 0, "middleName": "string", "mobile": "string", "nationality": "string", "operator": { "id": 0, "name": "string" }, "personnelNumber": "string", "phone": "string", "pilotId": 0, "pilotOnAircraft": [ "string" ], "radiationProtectionRegistryId": "string", "roles": { "property1": [ … ], "property2": [ … ] }, "salutation": "Mr", "status": "ACTIVE", "trigram": "string", "userQualifications": [ { … } ], "weight": 0.1, "weightUnit": "KILOGRAM" }
curl -i -X GET \
'https://developer.fl3xx.com/_mock/reference/api/external/user/crew?externalReference=string&pilotId=0' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE'
{ "account": { "accountNumber": 1111, "accountid": 1111, "email": "email@fl3xx.com", "externalReference": "669665849-f120-4f65-6325-11111", "internalId": 632123, "mobile": 111111111, "name": "Account", "notes": "Notes", "phone": 111111111, "vatNumber": "A11111111111", "address": { … }, "links": { … } }, "allowance": 0, "allowanceDomestic": 0, "allowancePaymentSchema": "PER_HOUR", "assignments": [ { … } ], "birthCountry": "string", "birthDate": "2019-08-24", "birthPlace": "string", "email": "string", "employedSince": "2019-08-24T14:15:22Z", "employedUntil": "2019-08-24T14:15:22Z", "externalReference": "string", "firstName": "string", "flightHours": { "multiEngine": 0, "pic": 0, "picMultiEngine": 0, "picSingleEngine": 0, "singleEngine": 0, "total": 0 }, "gender": "FEMALE", "homeAirport": { "aid": "APT-QAPF-UXNM", "faa": "null", "iata": "null", "icao": "OTBD", "id": 22024, "localIdentifier": "null", "name": "Doha International Airport" }, "idCards": [ { … } ], "jobTitle": "string", "lastName": "string", "logName": "string", "luggageUnit": "KILOGRAM", "luggageWeight": 0.1, "maxBlockHoursPerMonth": 0, "middleName": "string", "mobile": "string", "nationality": "string", "operator": { "id": 0, "name": "string" }, "personnelNumber": "string", "phone": "string", "pilotId": 0, "pilotOnAircraft": [ "string" ], "radiationProtectionRegistryId": "string", "roles": { "property1": [ … ], "property2": [ … ] }, "salutation": "Mr", "status": "ACTIVE", "trigram": "string", "userQualifications": [ { … } ], "weight": 0.1, "weightUnit": "KILOGRAM" }
curl -i -X GET \
'https://developer.fl3xx.com/_mock/reference/api/external/user/crew/{reference}/flighthours' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE'
{ "multiEngine": 0, "pic": 0, "picMultiEngine": 0, "picSingleEngine": 0, "singleEngine": 0, "total": 0 }
curl -i -X PUT \
'https://developer.fl3xx.com/_mock/reference/api/external/user/crew/{reference}/flighthours' \
-H 'Content-Type: application/json' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE' \
-d '{
"multiEngine": 0,
"pic": 0,
"picMultiEngine": 0,
"picSingleEngine": 0,
"singleEngine": 0,
"total": 0
}'
{ "multiEngine": 0, "pic": 0, "picMultiEngine": 0, "picSingleEngine": 0, "singleEngine": 0, "total": 0 }