Request a Route by Arrival Time
To request a public transport route using the CalculateRouteRequest
service, you must specify the start (waypoint0
) and destination (waypoint1
) waypoints and choose a public transport routing mode
.
Additionally, you must include your authentication credentials, an apiKey
or app_id
and app_code
if you are using the app_id/app_code authentication (see the Identity & Access Management Developer Guide) with each request to the Routing API v7.
This request queries a route and specifies the arrival time (edit the date in the request to a time two days in the future before testing the example), using timetable routing:
https://route.ls.hereapi.com/routing/7.2/calculateroute.json
?apiKey={YOUR_API_KEY}
&waypoint0=geo!51.512,-0.111
&waypoint1=geo!51.519,-0.074
&combineChange=true
&mode=fastest;publicTransportTimeTable
&arrival=2013-09-09T12:44:56