Reference Data
Countries
Changed onList all countries or one specific country. It is possible to request the response in a specific language.
get/references/countries/{countryCode}
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
countryCodestring required
2-letter ISO 3166-1 country 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
Countriesremoved and replaced withReferencesCountriesByCountryCodeGet
- info
- breaking
the
pathrequest parametercountryCodebecame required - info
api operation id
Get_Countries_removed and replaced withCountries
- breaking