Reference Data
Cities
Changed onList all cities or one specific city. It is possible to request the response in a specific language.
get/references/cities/{cityCode}
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
cityCodestring required
3-letter IATA city 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
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
Citiesremoved and replaced withReferencesCitiesByCityCodeGet
- info
- breaking
the
pathrequest parametercityCodebecame required - info
api operation id
Get_Cities_removed and replaced withCities
- breaking