GET recommended destinations
Changed onRequest
- Base URLhttps://test.api.amadeus.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
City used by the algorythm to recommend new destination. Several cities can be specified using comma.
City codes follow IATA standard
Origin country of the traveler following ISO 3166-1 alpha-2 code format (e.g. US)
List of country the traveler want to visit, separated with comma.
Country codes follow ISO 3166-1 alpha-2 code format (e.g. US)
Response
Successful reply
Example response
{
"data": [
{
"name": "Eiffel Tower",
"iataCode": "PAR",
"geoCode": {
"latitude": 48.85837,
"longitude": 2.294481
}
}
]
}Changes
- breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status
- breaking
- breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed from no type toobjectfor status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.amadeus+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.amadeus+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.amadeus+jsonfor the response status
- breaking