latestOpenAPI 3.0.12026-08-102668257.3 KB

8e9a8f8010ab

Other Functions

City Pairs API

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

post/route/export.do

Headers

Acceptstring required
Content-Typestring required
Accept-Encodingstring required
x-atlas-client-idstring
x-atlas-client-secretstring

Request body

routeTypeinteger required

-1: Airline routes -2: Atlas routes

fromCitystring nullable

IATA Code of departure city.

fromCountrystring nullable

IATA Code of departure country.

toCitystring nullable

IATA Code of arrival city or airport

toCountrystring nullable

IATA Code of arrival country.

airlinesstring[] nullable

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

pageSizeinteger nullable
pageNumberinteger nullable

Response

statusinteger required
msgstring nullable