The Comparison (LeastCost) Report provides a detailed comparison of the distance, time and costs associated with multiple possible routes between an origin and a destination. The routes are generated by using combinations of Route Types (Practical, Shortest and Fastest) and whether or not to avoid tolls.
This table includes the most frequently used parameters. Please see the Route Reports overview page for a full list. If you would like to test out
this API, enter values in the table below and scroll down the page to submit your request. Required parameters are highlighted in yellow. Check the box next to any additional parameters you would like to set.
LeastCost Report Request
Describes the type of report and what it does.
The route identification key(Can be null)
Where the route started from
Encapsulates the details about the location
Encapsulates the details about the longitude/latitude
Indicates the region of the location
The label to be displayed on maps and reports in association with a stop
The place name which corresponds to custom place.
Encapsulated the details about the errors associated with the geocode location
List of Complex Objects
Where the route ends at.
See Origin row above
Report details, including distance and cost.
provides the type of trip it will be and whether to avoid tolls or not.
Practical Tolls Allowed
The different available routes
The miles that it will take on a specific route
The cost on a specific route
The time it will take to travel on a specific route
The amount of tolls one will experience on a specific route