Read Fleet
Fleet
GET /api/external/aircraft
This endpoint returns a list of aircraft
Using the date parameter will return a list of aircraft modified after the given Date
Omitting the Date returns all the aircraft in the DB
Example of one aircraft for GET /api/external/aircraft response payload
{
"tailNumber": "N855PT",
"numberOfSeats": 10,
"type": "LJ55",
"model": "Lear 55",
"typeName": "LR55",
"homebase": "KFRG",
"equipment": {
"v110": true,
"v230": false,
"headsets": false,
"tv": false,
"cd_dvd": true,
"wifi": false,
"satPhone": true,
"satTV": false,
"entertainmentSystem": false,
"lavatory": true,
"enclosedLavatory": true,
"coffeePot": true,
"espresso": true,
"iceBin": true,
"microwaveOven": true,
"warmingOven": true,
"smokingAllowed": false,
"petsAllowed": false,
"baggageVolume": 4.0,
"maxWeight": 725.0,
"standardSuitcases": 15,
"skiTube": false,
"golfBags": true
},
"wingSpan": null,
"maxFuel": null,
"externalLength": null,
"externalHeight": null,
"cabinHeight": 188.0,
"cabinLength": 8.0,
"cabinWidth": 134.0,
"category": "HEAVY_JET",
"keyAccountManager": null,
"flightNumberToken": null,
"subcharter": false,
"cargo": false,
"ambulance": false,
"typeRating": null,
"typeOfUse": null,
"layout": {
"onboardEngineer": null,
"flightCrew": 2,
"cabinCrew": 1
},
"links": [
{
"rel": "picture",
"href": "http://test.fl3xx.com/api/external/aircraft/picture/a1f99c36-a408-4555-8643-adf0be2489e4"
},
{
"rel": "picture",
"href": "http://test.fl3xx.com/api/external/aircraft/picture/ae7d3b0e-b6af-4db8-9a23-5fd079abacdb"
},
{
"rel": "schedule",
"href": "http://test.fl3xx.com/api/external/aircraft/N855PT/schedule?from=2022-11-11&to=2023-02-11&initLocation=false"
},
{
"rel": "self",
"href": "http://test.fl3xx.com/api/external/aircraft/N855PT"
}
]
},
Pictures
Aircraft fleet response includes URLs to pictures
"links": [
{
"rel": "picture",
"href": "http://test.fl3xx.com/api/external/aircraft/picture/a1f99c36-a408-4555-8643-adf0be2489e4"
},
{
"rel": "picture",
"href": "http://test.fl3xx.com/api/external/aircraft/picture/ae7d3b0e-b6af-4db8-9a23-5fd079abacdb"
},
...
At the end of every link you can find the UUID of the picture
../api/external/aircraft/picture/a1f99c36-a408-4555-8643-adf0be2489e4
- Pictures are in .jpg, .png, .gif format
- Min size 250x250
- Max size 2500x2500px
- Max file size 2MB
- Max 3 pictures per aircraft
Note: Operators can change these limits, hence expect pictures could exceed these limits
Updated about 1 month ago