Routing API Developer's Guide

JSON Representation

The jsonAttributes parameter controls the JSON response representation. Combine different values by adding the respective values.

Value Description
1 Lower case first character of identifiers, this is default behaviour.
8 Include _type element in JSON output for classes with abstract parent classes, this is default behaviour.
16 Use plural naming for collections. The default is to use singular naming.
32 Flatten list of shape strings to double arrays containing lat/lon pairs. Potentially available altitude values are not returned. By default shapes are returned as lists of strings.
64 Flatten list of shape strings to double arrays containing lat/lon/alt triplets. Altitude values are returned if available. By default shapes are returned as lists of strings.
128 Supress JSON response object wrapper.

For example, to specify JSON output with lowercased identifiers (1), including _type attributes (8) and a double representation of shape points (32) use jsonAttributes=41:

https://route.cit.api.here.com/routing/7.2/calculateroute.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&waypoint0=geo!37.7914050,-122.3987030
&waypoint1=geo!37.7866569,-122.4026513
&jsonAttributes=41
&mode=fastest;car;

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.