Intermodal Services & Transport Types
- Last UpdatedDec 16, 2024
- 2 minute read
The Intermodal Routing API v8 offers the following intermodal routing services:
Each intermodal routing service is the result of the concatenation of multiple transport types of the Intermodal Routing API v8. When you request an intermodal route, you can either let the intermodal router select the optimal combination of transport types with regards to the time when the request is fired and the availability of modes of transport in your area, or you can decide, according to your needs, what transport type should appear in which section of the intermodal route.
The following table shows the transport types available in the Intermodal Routing API v8.
Table 1. List of intermodal transport types and corresponding description
For more information on the modes of transport of the Intermodal Routing API v8, see the Modes of Transport section.
Enable a transport type
The Intermodal Routing API v8 allows you to choose when a specific transport type should be enabled in the intermodal route as follows:
<transport-type>[enable]=routeHead
: enablesin the first section of the intermodal route <transport-type>[enable]=routeTail
: enablesin the last section of the intermodal route <transport-type>[enable]=entireRoute
: enablesfor the entire intermodal route.
Note
Beside the transport type
vehicle
, all other transport types are enabled by default for each section of the response (routeHead
,routeTail
, andentireRoute
). This means that the Park and Ride and Bike Share and Ride services are NOT enabled by default. Thus, you need to disabletaxi
andrented
transport types if you do not want them in the response.
Disable a transport type
The Intermodal Routing API v8 allows you to choose when a specific transport type should be disabled in the intermodal route as follows:
<transport-type>[enable]=
: disablesby assigning an empty value to the parameter <transport-type>[modes]=
: disablesby assigning an empty value to the parameter. This approach disable all modes of transport.
Note
While both options to disable transport types produce the same result, we recommend the first option using
<transport-type>[enable]=
.