Aircraft
Retrieve Aircraft Data
POST/api/[...]/discord/aircraft/find
This endpoint allows you to retrieve aircraft information.
Supported Authentication Types
API Token | Client Token | Grant Token |
---|---|---|
Yes | Yes | No |
Available Body Attributes
- Name
aircraft_id
- Type
- Integer
- Description
ID of the Aircraft.
- Name
booking_id
- Type
- Integer
- Description
Booking ID.
- Name
aircraft_registration
- Type
- AlphaDash, Uppercase
- Description
Registration of the Aircraft.
Response
{
"status": "success",
"request": {
"aircraft_registration": "9H-QCV",
"aircraft_id": null,
"booking_id": null
},
"data": {
"aircraft": {
"id": 999,
"name": "Boeing 737-8AS(WL)",
"registration": "9H-QCV",
"passengers": 189,
"cargo": 1400,
"image": {
"image": "https://t.plnspttrs.net/16357/1529157_e8615e41da_280.jpg",
"attirbution": "Chris Camille",
"linkback": "https://www.planespotters.net/photo/1529157/ei-evo-ryanair-boeing-737-8aswl?utm_source=api"
},
"extra": {
"cat": null,
"equip": null,
"transponder": null,
"pbn": null,
"extrarmk": null,
"maxpax": 189,
"oew": null,
"mzfw": null,
"mtow": null,
"mlw": null,
"maxfuel": null,
"hexcode": null,
"per": null,
"paxwgt": null,
"bagwgt": null
}
},
"fleet": {
"id": 999,
"name": "Boeing 737-8AS(WL)",
"code": "B738"
}
}
}