Toll Cost Extension API Developer's Guide

Input Interface

Resource URI

/tollcost

Resource Parameters

Parameter Type Description
app_id String

Typically, but not guaranteed to be, 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. See Acquiring Credentials.

app_code String

Typically, but not guaranteed to be, 20 bytes Base64 URL-safe encoded string used for the authentication of the client application. See Acquiring Credentials.

vspec (deprecated) or tollVehicleType, trailerType, trailersCount, vehicleNumberAxles, trailerNumberAxles, hybrid, emissionType, height, trailerHeight, vehicleWeight, limitedWeight, disabledEquipped, minimalPollution, hov, passengersCount, tiresCount, commercial, shippedHazardousGoods, heightAbove1stAxle String Semi-column separated string containing all the vehicle specifications (deprecated) or list of parameters that specify the vehicle. See detailed description of these parameters.
departure String Start date/time of the route - local wall clock time at start point. See detailed description of this parameter. Replaces the deprecated parameter start_ts.
route String Detailed information about the route. See detailed description of this parameter
callback String

Specifies the name of a user-defined function used to wrap the JSON response.

rollup String

Comma separated list of rollups (groupings, aggregation levels) in the result. Currently supported rollups are none (per link details), total (totals), tollsys (per toll system summaries), country (per country summaries), country;tollsys (per country and toll system summaries). Note that the overall response is structured differently, if this parameter is passed. Example: &rollup=none,country;tollsys,country returns the cost details and 2 different summaries.