Waypoints Sequence Extension API Developer's Guide

Reading a Waypoints Sequence Response

The Waypoints Sequence Extension API has the following basic response structure.
  • a waypoints object that lists the optimized waypoint sequence based on the parameters in the request. The value in the element sequence indicates the optimal order.
  • information about the total distance and time of your journey
  • an interconnections object that includes information about the journey between the indicated waypoints
  • information about the kind of optimization and supporting information
  • metainformation about your request
Example response structure:
{
  "results": [{
    "waypoints": [{
      "id": "WiesbadenCentralStation",
      "lat": 50.0715,
      "lng": 8.2434,
      "sequence": 0,
      "estimatedArrival": null,
      "estimatedDeparture": "2014-12-09T09:30:00+01:00",
      "fulfilledConstraints": []
    },
    {
      "id": "FranfurtCentralStation",
      "lat": 50.1073,
      "lng": 8.6647,
      "sequence": 1,
      "estimatedArrival": null,
      "estimatedDeparture": "2014-12-09T10:01:02+01:00",
      "fulfilledConstraints": []
    },
    {
      "id": "HanauCentralStation",
      "lat": 50.1218,
      "lng": 8.9298,
      "sequence": 2,
      "estimatedArrival": null,
      "estimatedDeparture": "2014-12-09T10:30:43+01:00",
      "fulfilledConstraints": []
    },
    {
      "id": "FrankfurtAirport",
      "lat": 50.0505,
      "lng": 8.5698,
      "sequence": 3,
      "estimatedArrival": null,
      "estimatedDeparture": "2014-12-09T10:56:10+01:00",
      "fulfilledConstraints": []
    },
    {
      "id": "DarmstadtCentralStation",
      "lat": 49.8728,
      "lng": 8.6326,
      "sequence": 4,
      "estimatedArrival": null,
      "estimatedDeparture": "2014-12-09T11:16:55+01:00",
      "fulfilledConstraints": []
    },
    {
      "id": "MainzCentralStation",
      "lat": 50.0021,
      "lng": 8.259,
      "sequence": 5,
      "estimatedArrival": null,
      "estimatedDeparture": null,
      "fulfilledConstraints": []
    }],
    "distance": "169262",
    "time": "8362",
    "interconnections": [{
      "fromWaypoint": "WiesbadenCentralStation",
      "toWaypoint": "FranfurtCentralStation",
      "distance": 36461.0,
      "time": 1862.0
    },
    {
      "fromWaypoint": "FranfurtCentralStation",
      "toWaypoint": "HanauCentralStation",
      "distance": 34485.0,
      "time": 1781.0
    },
    {
      "fromWaypoint": "HanauCentralStation",
      "toWaypoint": "FrankfurtAirport",
      "distance": 33489.0,
      "time": 1527.0
    },
    {
      "fromWaypoint": "FrankfurtAirport",
      "toWaypoint": "DarmstadtCentralStation",
      "distance": 26905.0,
      "time": 1245.0
    },
    {
      "fromWaypoint": "DarmstadtCentralStation",
      "toWaypoint": "MainzCentralStation",
      "distance": 37922.0,
      "time": 1947.0
    }],
    "description": "Targeted best time; with improvement for traffic"
  }],
  "errors": [],
  "processingTimeDesc": "1345ms",
  "responseCode": "200",
  "warnings": null,
  "requestId": null
}

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.