Structure "Directions"
This structure describes the basic parameters of the direction point.
Name | Description | Data type | Required |
---|---|---|---|
directionType | Enumerated direction type "DEFAULT, POINT". | String | |
countrySigns | List of countries. | Array of strings | + |
areaIds | List of area identifiers. | Array of numbers | |
regionIds | List of region identifiers. | Array of numbers | |
towns.townId | City identifier. | Number | |
towns.name | City name. | String | |
towns.postalCodes | List of postal codes. | Array of strings | |
excludeAreaIds | List of excluded area identifiers. | Array of numbers | |
excludeRegionIds | List of excluded region identifiers. | Array of numbers | |
point.countryStrict | Allowance beyond country borders in radius search. | Boolean | |
point.countryStrictSign | Country sign for radius search. | String | |
point.lat | Latitude. | Number | |
point.lon | Longitude. | Number | |
point.radius | Radius. | Number | |
point.townId | City identifier. | Number | |
excludeTowns.townId | City identifier from the reference book. | Number | |
excludeTowns.name | City name. | String |
Example
JSON
{
"directionType": "DEFAULT",
"countrySigns": [],
"areaIds": [],
"regionIds": [],
"towns": [],
"excludeAreaIds": [],
"excludeRegionIds": [],
"excludeTowns": []
}