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 POST \
'https://developer.fl3xx.com/_mock/reference/api/external/flight/{flightId}/passenger' \
-H 'Content-Type: application/json' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE' \
-d '{
"comment": "string",
"externalReference": "string",
"internalId": 0,
"isMain": true,
"links": [
{
"deprecation": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"name": "string",
"profile": "string",
"rel": {},
"title": "string",
"type": "string"
}
],
"paxExternalReference": "string",
"paxIdCardId": 0,
"paxType": "NONE",
"paxUserId": 0,
"seatOnLap": true,
"ticketId": 0
}'
{ "comment": "string", "externalReference": "string", "internalId": 0, "isMain": true, "links": { "empty": true }, "paxExternalReference": "string", "paxIdCardId": 0, "paxType": "NONE", "paxUserId": 0, "seatOnLap": true, "ticketId": 0 }
curl -i -X GET \
'https://developer.fl3xx.com/_mock/reference/api/external/flight/{flightId}/passenger/{ticketId}' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE'
{ "comment": "string", "externalReference": "string", "internalId": 0, "isMain": true, "links": { "empty": true }, "paxExternalReference": "string", "paxIdCardId": 0, "paxType": "NONE", "paxUserId": 0, "seatOnLap": true, "ticketId": 0 }
curl -i -X PUT \
'https://developer.fl3xx.com/_mock/reference/api/external/flight/{flightId}/passenger/{ticketId}' \
-H 'Content-Type: application/json' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE' \
-d '{
"comment": "string",
"externalReference": "string",
"internalId": 0,
"isMain": true,
"links": [
{
"deprecation": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"name": "string",
"profile": "string",
"rel": {},
"title": "string",
"type": "string"
}
],
"paxExternalReference": "string",
"paxIdCardId": 0,
"paxType": "NONE",
"paxUserId": 0,
"seatOnLap": true,
"ticketId": 0
}'
{ "comment": "string", "externalReference": "string", "internalId": 0, "isMain": true, "links": { "empty": true }, "paxExternalReference": "string", "paxIdCardId": 0, "paxType": "NONE", "paxUserId": 0, "seatOnLap": true, "ticketId": 0 }
curl -i -X DELETE \
'https://developer.fl3xx.com/_mock/reference/api/external/flight/{flightId}/passenger/{ticketId}' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE'
curl -i -X GET \
'https://developer.fl3xx.com/_mock/reference/api/external/flight/{flightId}/passengers' \
-H 'X-Auth-Token: YOUR_API_KEY_HERE'
[ { "comment": "string", "externalReference": "string", "internalId": 0, "isMain": true, "links": { … }, "paxExternalReference": "string", "paxIdCardId": 0, "paxType": "NONE", "paxUserId": 0, "seatOnLap": true, "ticketId": 0 } ]