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.

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 highlighted in yellow. Check the box next to any additional parameters you would like to set. The CalcMiles report is available for PC*MILER 24 and higher.

CalcMiles Request

API KEY
GET

Response

CalcMiles Report Response

Data ElementDescriptionData TypeValue/Example
typeDescribes the type of report and what it does.
string
CalculateMilesReport
RouteIDThe route identification key(Can be null)
Int
TMilesIndicates the miles for that specific trip.
double
0.2