GetArrivalDistricts

Version 3.1 by Giorgi Mdivnishvili on 2023/12/14 08:24

Method Description

The initial method of the integration process is authorization. You will be provided with a test user username and password to generate the access token that you will need to pass in all the following methods. 

Request URL - [GET]

Request Parameters

Request Body

none

Response Body

[
  {
   "type": "string",
   "parent": "string",
   "label": "string",
   "subLabel": "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

[TreeNode{
type string
nullable: true
parent string
nullable: true
label string
nullable: true
subLabel string
nullable: true
value string
nullable: true
tag string
nullable: true
}]