v2

latestSwagger 2.0raw.githubusercontent.com2021-10-211814.1 KB
air-traffic

Returns a list of air traffic reports.

get/travel/analytics/air-traffic/booked

Query parameters

originCityCodestring required

Code for the origin city following IATA standard (IATA table codes). - e.g. BOS for Boston

periodstring required

period when consumers are traveling.

  • It can be a month only.
  • ISO format must be used - e.g. 2015-05.
  • Period ranges are not supported.
  • Only periods from 2011-01 up to previous month are valid.
  • Future dates are not supported.
maxnumber

maximum number of destinations in the response. Default value is 10 and maximum value is 50.

fieldsstring

list of attributes desired in the response or list of attributes to remove from the response (with "-" before fields)

  • The attributes names must contain the whole path (except resource name) e.g. travelers
page[limit]integer

maximum items in one page

page[offset]integer

start index of the requested page

sort'analytics.flights.score' | 'analytics.travelers.score'

defines on which attribute the sorting will be done:

  • analytics.flights.score - sort destinations by flights score (decreasing)
  • analytics.travelers.score - sort destination by traveler's score (decreasing)

Response

Successful Operation

All 1 operations