Join our community at https://www.reddit.com/r/HotelByte/
parentDestinationId parametercountryCode parameter (ISO 3166-1 alpha-2 format, e.g., "US", "CN")parentDestinationId is ignored when countryCode is providedstandard (default): Basic destination metadata and hierarchy informationdetails: Includes coordinates and full hierarchical relationshipscurl --location 'https://api-test.hotelbyte.com/api/search/destinations' \
--header 'Client-Request-Timestamp;' \
--header 'IP;' \
--header 'Language;' \
--header 'Request-Id;' \
--header 'Trace-Id;' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data '{
"countryCode": "AE",
"filterEmptyCities": true,
"include": "standard",
"minHotelCount": 0,
"parentDestinationId": "804028047"
}'{
"code": 0,
"data": {
"destinations": [
{
"coordinates": {
"boundingPolygon": {
"coordinates": [
{
"lat": 0,
"lng": 0
}
],
"type": "string"
},
"centerLat": 0,
"centerLng": 0
},
"countryCode": "string",
"countryName": {
"ar": "string",
"en": "string",
"zh": "string"
},
"destinationName": {
"ar": "string",
"en": "string",
"zh": "string"
},
"extra": {
"cityName": {
"ar": "string",
"en": "string",
"zh": "string"
},
"continentName": {
"ar": "string",
"en": "string",
"zh": "string"
},
"hotelCount": 0,
"provinceName": {
"ar": "string",
"en": "string",
"zh": "string"
}
},
"id": "string",
"name": {
"ar": "string",
"en": "string",
"zh": "string"
},
"nameFull": {
"ar": "string",
"en": "string",
"zh": "string"
},
"parentDestinationId": "string",
"parentDestinationName": {
"ar": "string",
"en": "string",
"zh": "string"
},
"type": 0
}
]
},
"msg": "string"
}