4. GetArrivalDistricts

Version 9.1 by Giorgi Mdivnishvili on 2023/12/26 10:04

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 arrival cities and districts of the chosen country will be returned with all the necessary data.

EndpointURL - [GET]

Request Parameters

Request Body

none

Response Body

[
  {
   "type": "string",
   "parent": "string",
   "label": "string",
   "value": "string",
   "tag": "string"
  }
]

example

 {
       "type": "city",
       "label": "Aktau",
       "value": "8aa860fd-1899-4253-ad52-0700c5339d70",
       "tag": "Aktau"
    },
    {
       "type": "district",
       "parent": "8aa860fd-1899-4253-ad52-0700c5339d70",
       "label": "Aktau Airport",
       "value": "9e24902a-65ec-41b8-b736-a7e50631ee13",
       "tag": "Aktau Airport Aktau"
    },
    {
       "type": "district",
       "parent": "8aa860fd-1899-4253-ad52-0700c5339d70",
       "label": "Mangghystau",
       "value": "1644b5e1-7dea-4e3b-b2e6-854eb50f2c97",
       "tag": "Mangghystau Aktau"
    },
    {
       "type": "district",
       "parent": "8aa860fd-1899-4253-ad52-0700c5339d70",
       "label": "Microdistrict 9",
       "value": "dcedd4b5-1044-410e-b8ad-f8f9ba443593",
       "tag": "Microdistrict 9 Aktau"
    },
    {
       "type": "city",
       "label": "Aktobe",
       "value": "2e460569-3f8c-48df-a287-03f3d5a94eb4",
       "tag": "Aktobe"
    },

Schema

Success

[TreeNode{

typestring
nullable: true
parentstring
nullable: true
labelstring
nullable: true
subLabelstring
nullable: true
valuestring
nullable: true
tagstring
nullable: true

}]

Definitions

type: type of city or district
parent: District parent is country code, type "city" value
label : City Name
value : City Code
tag : Tag name of city or district for example ("Abu Dhabi Airport - AUH Abu Dhabi")