Use route handle with parameter

This is a sample request to use the routeHandle with various parameters, such as avoid[features]=controlledAccessHighway, which yields a critical notice:

curl -X GET \
    'https://router.hereapi.com/v8/routes/{routeHandle}?transportMode=car&avoid[features]=controlledAccessHighway'
{
  "routes": [
    {
      "id": "e7784661-dd6f-4da9-b610-9c45e8d95d15",
      "sections": [
        {
          "id": "b5d0423f-d7df-4b43-b86b-656e0735a0c3",
          "type": "vehicle",
          "departure": {
            "time": "2021-06-29T11:45:08+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 52.5500411,
                "lng": 13.3023036
              },
              "originalLocation": {
                "lat": 52.5500279,
                "lng": 13.302349
              }
            }
          },
          "arrival": {
            "time": "2021-06-29T11:45:32+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 52.5532843,
                "lng": 13.3051593
              },
              "originalLocation": {
                "lat": 52.553272,
                "lng": 13.305195
              }
            }
          },
          "notices": [
            {
              "title": "Violated avoid controlled-access highway.",
              "code": "violatedAvoidControlledAccessHighway",
              "severity": "critical"
            }
          ],
          "transport": {
            "mode": "car"
          }
        }
      ]
    }
  ]
}

results matching ""

    No results matching ""