To send a Park and Ride request to the Intermodal Routing API v8 you need to use the request parameters described in the following table.
Table 1. Park and Ride request parameters
|Base URL||string, ||Production environment|
|Version||string, ||The API version to use|
|Resource||string, ||The endpoint to access the resource|
| ||string, ||The origin WGS-84 compliant coordinates of the request|
| ||string, ||The destination WGS-84 compliant coordinates of the request|
| ||string, ||Set the specific transport mode of a private vehicle|
| ||string, ||Enables private vehicles in the head section of the route|
| ||string, ||Enables public transit in the tail section of the route|
| ||string, ``||Disables |
See how to Calculate a Park and Ride Route.
The response to the above request delivers the following high-level elements:
notices(optional) object with a list of issues related to the response
routesobject with a list of sections for each transit route alternative.
For more information on the request parameters, see the Routing section of the Intermodal Routing API Reference