airlines
Return airlines information.
Changed onget/reference-data/airlines
Request
- Base URLhttps://test.api.amadeus.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
airlineCodesstring
Code of the airline following IATA standard(IATA table codes) or ICAO standard (ICAO airlines table codes)
Several airlines can be selected at once by sending a list separated by a coma (i.e. AF, SWA)
Response
Successful Operation
Example response
{
"meta": {
"count": 1,
"links": {
"self": "https://test.api.amadeus.com/v1/area/resources?param=value"
}
},
"data": [
{
"type": "airline",
"iataCode": "WN",
"icaoCode": "SWA",
"businessName": "SOUTHWEST AIRLINES TEXAS",
"commonName": "SW AIRLINES"
}
]
}Changes
- info
added the media type
application/vnd.amadeus+jsonfor the response with the status - info
added the media type
application/vnd.amadeus+jsonfor the response with the status - info
added the non-success response with the status
- info