Routing API v7 Developer's Guide

Specify the Maximum Number of Changes

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 using estimated public transport and specifies the maximum number of changes allowed in the route. For documentation on request parameters, see Calculate Route.
Note: This example uses a HERE API Key to authenticate your request. For the available authentication options, see the Identity & Access Management Developer Guide.