GetAirportTree
Version 3.1 by Giorgi Mdivnishvili on 2023/12/14 15:26
Contents
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.
EndpointURL - [GET]
Request Parameters
Request Body
none
Response Body
[
{
"type": "string",
"parent": "string",
"label": "string",
"subLabel": "string",
"value": "string",
"tag": "string"
}
]
{
"type": "string",
"parent": "string",
"label": "string",
"subLabel": "string",
"value": "string",
"tag": "string"
}
]
example
{
"type": "city",
"parent": "AE",
"label": "Dubai",
"value": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
"tag": "Dubai United Arab Emirates"
},
{
"type": "airport",
"parent": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
"label": "Dubai Al Maktoum Intl Airport",
"subLabel": "Dubai, United Arab Emirates",
"value": "DWC",
"tag": "DWC Dubai Al Maktoum Intl Airport Dubai, United Arab Emirates Dubai United Arab Emirates"
},
{
"type": "airport",
"parent": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
"label": "Dubai Intl Airport",
"subLabel": "Dubai, United Arab Emirates",
"value": "DXB",
"tag": "DXB Dubai Intl Airport Dubai, United Arab Emirates Dubai United Arab Emirates"
},
{
"type": "country",
"label": "United Kingdom",
"value": "GB",
"tag": "United Kingdom"
},
"type": "city",
"parent": "AE",
"label": "Dubai",
"value": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
"tag": "Dubai United Arab Emirates"
},
{
"type": "airport",
"parent": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
"label": "Dubai Al Maktoum Intl Airport",
"subLabel": "Dubai, United Arab Emirates",
"value": "DWC",
"tag": "DWC Dubai Al Maktoum Intl Airport Dubai, United Arab Emirates Dubai United Arab Emirates"
},
{
"type": "airport",
"parent": "f5185fa3-3f56-44ed-bf6b-80386a33caa2",
"label": "Dubai Intl Airport",
"subLabel": "Dubai, United Arab Emirates",
"value": "DXB",
"tag": "DXB Dubai Intl Airport Dubai, United Arab Emirates Dubai United Arab Emirates"
},
{
"type": "country",
"label": "United Kingdom",
"value": "GB",
"tag": "United Kingdom"
},
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
}]
type string
nullable: true
parent string
nullable: true
label string
nullable: true
subLabel string
nullable: true
value string
nullable: true
tag string
nullable: true
}]