3. GetDepartureCities
Version 11.1 by Giorgi Mdivnishvili on 2024/04/10 03:13
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
},
Decription
- `cityUID`: (string) The unique identifier for the city.
- `cityName`: (string) The name of the city.
- `state`: (string) The state where the city is located. This field can be empty.
- `countryCode`: (string) The ISO 3166-1 alpha-2 country code. For example, "KZ" for Kazakhstan.
- `timeZoneOffset`: (integer) The time zone offset for the city. This is the difference in hours from Coordinated Universal Time (UTC).
- `cityName`: (string) The name of the city.
- `state`: (string) The state where the city is located. This field can be empty.
- `countryCode`: (string) The ISO 3166-1 alpha-2 country code. For example, "KZ" for Kazakhstan.
- `timeZoneOffset`: (integer) The time zone offset for the city. This is the difference in hours from Coordinated Universal Time (UTC).
Schema