v7

latestSwagger 2.0LHraw.githubusercontent.com2018-01-0115639.5 KB
Reference Data

Airports

List all airports or one specific airport. All airports response is very large. It is possible to request the response in a specific language.

get/references/airports/{airportCode}

Path parameters

airportCodestring required

3-letter IATA airport code

Query parameters

langstring

2-letter ISO 3166-1 language code

limitstring

Number of records returned per request. Defaults to 20, maximum is 100 (if a value bigger than 100 is given, 100 will be taken)

offsetstring

Number of records skipped. Defaults to 0

LHoperatedboolean

Restrict the results to locations with flights operated by LH (false=0, true=1)

Headers

Acceptstring required

http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml")

Response

OK