Comparison (LeastCost) Report
Contents
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.
Available for dataVersion
24 and Higher
Parameters
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 marked with an asterisk. Check the box next to any additional parameters you would like to set.
LeastCost Report Request
Comparison Report
Data Element | Description | Data Type | Value/Example | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type | Describes the type of report and what it does. |
string | LeastCost | ||||||||||||||||||||||||||||||||
RouteID | The route identification key(Can be null) |
Int | |||||||||||||||||||||||||||||||||
Origin | Where the route started from |
Complex |
| ||||||||||||||||||||||||||||||||
Destination | Where the route ends at. |
Complex | See Origin row above | ||||||||||||||||||||||||||||||||
ReportLines | Report details, including distance and cost. |
Complex |
|