Avoid specified options

This request successfully avoids the tollRoad feature using the avoid option:

curl -X GET \
  'https://router.hereapi.com/v8/routes?destination=47.168076,11.861380&origin=47.257410,11.351458&transportMode=car&avoid[features]=tollRoad&apikey={YOUR_API_KEY}'
{
  "routes": [
    {
      "id": "428d7f71-f92b-484f-a4b5-d491b35f6210",
      "sections": [
        {
          "arrival": {
            "place": {
              "location": {
                "lat": 47.168049830943349,
                "lng": 11.861283313483
              },
              "type": "place"
            },
            "time": "2019-12-09T16:06:36+01:00"
          },
          "departure": {
            "place": {
              "location": {
                "lat": 47.25743193179369,
                "lng": 11.35145296342671
              },
              "type": "place"
            },
            "time": "2019-12-09T14:23:59+01:00"
          },
          "id": "ccba0c50-76f7-4d55-a8da-ce5c3ee629a9",
          "transport": {
            "mode": "car"
          },
          "type": "vehicle"
        }
      ]
    }
  ]
}

results matching ""

    No results matching ""