BeMyPlan API
Aircraft

Get one aircraft type by id (includes inactive)

GET
/data/v1/aircraft/{aircraftId}
AuthorizationBearer <token>

A BeMyPlan API key: Authorization: Bearer bmp_live_… in production, bmp_test_… in sandbox.

In: header

Path Parameters

aircraftId*string

The id from a list response. Lower case only; ids are not normalised.

Match^arc_[a-z2-7]{16}$

Header Parameters

If-None-Match?string

A previously returned ETag. When it still matches, the answer is 304 with no body (and no charge for a free call).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/data/v1/aircraft/string"
{  "data": {    "id": "arc_f3nfkufdtvkmjdp5",    "iataCode": "320",    "icaoCode": "A320",    "name": "Airbus A320",    "manufacturer": "Airbus",    "active": true  },  "meta": {    "requestId": "0b6f3c1e-8f0a-4a39-9a55-2d4d7f3e1c11"  }}