航线导出

在指南和链接中,统一使用 航线导出 作为主名称。

这个 API 对应 route/export.do

历史材料里也可能写成 City Pairs API

City Pairs API

post

The "City pairs API" can be used to download the city pairs supported by Atlas as well as by the airlines. The customer can use this structured data and transfer the city pair information into their mid-back office systems.

This API is only available in the production environment.

Dependency There is no dependency for this call.

Endpoint: https://sandbox.atriptech.com/route/export.do

Header parameters
AcceptstringRequiredExample: application/json
Content-TypestringRequiredExample: application/json
Accept-EncodingstringRequiredExample: gzip
x-atlas-client-idstringOptionalExample: <YOUR_CLIENT_ID>
x-atlas-client-secretstringOptionalExample: <YOUR_CLIENT_SECRET>
Body
routeTypeintegerRequired

-1: Airline routes -2: Atlas routes

fromCitystring · nullableOptional

IATA Code of departure city.

fromCountrystring · nullableOptional

IATA Code of departure country.

toCitystring · nullableOptional

IATA Code of arrival city or airport

toCountrystring · nullableOptional

IATA Code of arrival country.

airlinesstring[] · nullableOptional

An array of IATA Codes of airlines. The routes within the airlines will be returned.

pageSizeinteger · nullableOptionalDefault: 10000
pageNumberinteger · nullableOptionalDefault: 1
Responses
chevron-right
200Success
application/json
statusintegerRequired
msgstring · nullableOptional
post
/route/export.do
200Success

Last updated

Was this helpful?