Use route handle

This is a request to recreate a route using a previously generated routeHandle.

curl -X GET \
    'https://router.hereapi.com/v8/routes/{routeHandle}?transportMode=car&apikey={YOUR_API_KEY}'
{
  "routes": [
    {
      "id": "31f954d6-b6e5-47eb-ab31-5ebbe8d0a850",
      "sections": [
        {
          "id": "a00b4f5e-bc7e-433e-87a2-473414f91d3d",
          "type": "vehicle",
          "departure": {
            "time": "2021-06-29T11:42:13+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 52.5500411,
                "lng": 13.3023036
              },
              "originalLocation": {
                "lat": 52.5500279,
                "lng": 13.302349
              }
            }
          },
          "arrival": {
            "time": "2021-06-29T11:42:49+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 52.5532843,
                "lng": 13.3051593
              },
              "originalLocation": {
                "lat": 52.553272,
                "lng": 13.305195
              }
            }
          },
          "transport": {
            "mode": "car"
          }
        }
      ]
    }
  ]
}

results matching ""

    No results matching ""