price-metrics

GET itinerary price metric

get/analytics/itinerary-price-metrics

Query parameters

originIataCodestring required

airport code, following IATA standard, from which the traveler will depart

destinationIataCodestring required

airport code, following IATA standard, to which the traveler is going.

departureDatestring required

The date on which the traveler will depart from the origin to go to the destination.

Dates are specified in theISO 8601 YYYY-MM-DD format.

currencyCodestring

the preferred currency for display. Currency is specified in the ISO 4217 format, e.g. EUR for Euro

oneWayboolean

true to get price metrics for a one way trip, false to get price metrics for a round trip

Response

Successful reply

Changes

Changed in 1 of the 2 revisions of this API.933

  • 48cc4a40bd86933See the full diff
    • the response property errors/items/code became optional for the status 400

      response-property-became-optional

    • the response property errors/items/code became optional for the status 500

      response-property-became-optional

    • the response property errors/items/status became optional for the status 400

      response-property-became-optional

    • the response property errors/items/status became optional for the status 500

      response-property-became-optional

    • the response property errors/items/title became optional for the status 400

      response-property-became-optional

    • the response property errors/items/title became optional for the status 500

      response-property-became-optional

    • the errors/items/source response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the errors/items/source response's property type/format changed from / to object/ for status 500

      response-property-type-changed

    • the warnings/items/source response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • removed the optional property errors/items/documentation from the response with the 400 status

      response-optional-property-removed

    • removed the optional property errors/items/documentation from the response with the 500 status

      response-optional-property-removed

    • removed the optional property warnings/items/documentation from the response with the 200 status

      response-optional-property-removed

    • media type application/json was changed to a more specific media type application/vnd.amadeus+json for the response status 200

      response-media-type-name-specialized

    • media type application/json was changed to a more specific media type application/vnd.amadeus+json for the response status 400

      response-media-type-name-specialized

    • media type application/json was changed to a more specific media type application/vnd.amadeus+json for the response status 500

      response-media-type-name-specialized