Get Routing Zones
Use the getroutingzones
resource to query for supported routing zones. Returned data includes zone indentifiers which may be used further in Routing Zone API, for example as values of the excludeZones
parameter of the calculateroute
resource.
The required parameter for the getroutingzones
resource is an apiKey
or app_id
and app_code
if you are using the app_id/app_code authentication (for the available authentication options, see the Identity & Access Management Developer Guide). A size of the response may be optimized by specifying query criteria like restricting returned zones only to certain countries or zone types.
../routing/7.2/getroutingzones.{format}?<parameter>=<value>...
Parameter | Description |
---|---|
app_id | A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. If you use the app ID/app code option, you need to include an |
app_code | A 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. If you use the app ID/app code option, you need to include an |
apiKey | A 43-byte Base64 URL-safe encoded string used for the authentication of the client application. As a logged in user, you can generate it at https://developer.here.com/projects. API Keys never expire but you can invalidate your API Keys at any time. You cannot have more than two API Keys for one app at the same time. You must include an |
zoneIds | Comma-separated list of zone identifiers. Response will include only the zones which match any of provided identifiers. |
zoneTypes | Comma-separated list of routing zone types. Response will include only zones which match any of provided types. See also RoutingZoneTypeType. |
countryCodes | Comma-separated list of ISO-3166 alpha-3 compliant country codes. Response will include only zones which match any of provided codes. |
Get supported routing zones for Italy or Austria
https://route.ls.hereapi.com/routing/7.2/getroutingzones.xml
?apiKey={YOUR_API_KEY}
&countryCodes=ITA,AUT