CalcMiles Report

The CalcMiles Report is used to calculate the distance of a route. It can be set to retrieve distances in miles (default) or kilometers.

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.

CalcMiles Request #

API KEY
GET

Response #

CalcMiles Report Response #

Data Element Description Data Type Value/Example
type Describes the type of report and what it does.
string
CalculateMilesReport
RouteID The route identification key(Can be null)
Int
TMiles Indicates the miles for that specific trip.
double
0.2
Last updated March 8, 2021.