3. GetDepartureCities
Last modified by Giorgi Mdivnishvili on 2024/04/10 03:24
Contents
Method Description
This method returns data about departure cities.
To call the method, the country code must be passed as a parameter in the header and then a list of departure cities of the chosen country will be returned with all the necessary data.
Endpoint URL - [GET]
Request Parameters
Request Body
none
Response Body
[
{
"cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"cityName": "string",
"state": "string",
"note": "string",
"countryCode": "string",
"iataCode": "string",
"timeZoneOffset": 0
}
]
{
"cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"cityName": "string",
"state": "string",
"note": "string",
"countryCode": "string",
"iataCode": "string",
"timeZoneOffset": 0
}
]
example
{
"cityUID": "8aa860fd-1899-4253-ad52-0700c5339d70",
"cityName": "Aktau",
"state": "",
"countryCode": "KZ",
"timeZoneOffset": 5
},
{
"cityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8",
"cityName": "Almaty",
"state": "",
"countryCode": "KZ",
"timeZoneOffset": 6
},
{
"cityUID": "5efe9cfb-a9a0-4f99-93f5-42716e4ccbb7",
"cityName": "Astana",
"state": "",
"note": "Added from RustarOnline",
"countryCode": "KZ",
"timeZoneOffset": 6
},
{
"cityUID": "3bd6976b-b9dd-4086-96aa-5a4581560d19",
"cityName": "Atyrau",
"state": "",
"countryCode": "KZ",
"timeZoneOffset": 5
},
"cityUID": "8aa860fd-1899-4253-ad52-0700c5339d70",
"cityName": "Aktau",
"state": "",
"countryCode": "KZ",
"timeZoneOffset": 5
},
{
"cityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8",
"cityName": "Almaty",
"state": "",
"countryCode": "KZ",
"timeZoneOffset": 6
},
{
"cityUID": "5efe9cfb-a9a0-4f99-93f5-42716e4ccbb7",
"cityName": "Astana",
"state": "",
"note": "Added from RustarOnline",
"countryCode": "KZ",
"timeZoneOffset": 6
},
{
"cityUID": "3bd6976b-b9dd-4086-96aa-5a4581560d19",
"cityName": "Atyrau",
"state": "",
"countryCode": "KZ",
"timeZoneOffset": 5
},
Schema
Definitions