Reference Data
Nearest Airports
Changed onList the 5 closest airports to the given latitude and longitude, irrespective of the radius of the reference point.
get/references/airports/nearest/{latitude},{longitude}
Request
- Base URLhttps://api.lufthansa.com/v1
- AuthOAuth 2Authorization codehttps://api.lufthansa.com/v1/oauth/tokenToken URLhttps://api.lufthansa.com/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
latitudeinteger required
Latitude in decimal format to at most 3 decimal places
longitudeinteger required
Longitude in decimal format to at most 3 decimal places
Query parameters
langstring
2 letter ISO 3166-1 language code
Headers
Acceptstring required
http header: application/json or application/xml (Acceptable values are: "application/json", "application/xml")
Response
OK
object required
Changes
- info
api operation id
Nearest Airportsremoved and replaced withReferencesAirportsNearestByLatitudeAndLongitudeGet
- info
- info
api operation id
Get_Nearest Airports_removed and replaced withNearest Airports
- info