Route Reports (POST method)
Contents
With our Route Reports API, you can create a route and retrieve a wide range of information about it—everything from PC*Miler practical miles and turn-by-turn directions to trip costs and a detailed route path. Each route can be customized with a wide range of settings to fit your vehicles and business needs.
For each route report request, a minimum of two Stops
(origin and destination) and a ReportType
are required. The report response returns a list of reports in JSON format.
With a POST request for a route report:
-
You can pass in either an
Address
object or aCoords
object. -
You can add a
Label
to each of theStops
. -
Up to 20 routes can be sent in a single request.
-
Hours of service options also benefit from a POST request. Additional hours of service options to fully support Cycle Time Gains, use of custom places for rest stops, and Canadian hours of service are only available through the POST version of the request.
POST /route/routeReports?dataVersion={dataVersion}
Resource URL
https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/route/routeReports?dataVersion={dataVersion}
Query Parameter
Parameter | Definition | Data Type | Required |
---|---|---|---|
dataVersion
| For users licensed for multiple data versions or datasets. Read more about setting the dataVersion .Detailed, Directions, Mileage and State reports are available for Note: In |
string | N - Default is Current
|
Report Request Parameters
Below are descriptions of the parameters that can be used to generate route reports.
The only two required parameters are Stops
and ReportTypes
. If no other parameters are entered, routes will be calculated based on default vehicle dimensions and default settings.
Stop Details
These parameters identify the stops in a route.
Data Element | Description | Data Type | Value/Example | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Stops | Stops can be entered as an address or as coordinates. |
list of stop location objects | See values for Address and Coords. | ||||||||||||||||||||||||||||
AssetId | The ID of the asset (device, vehicle or driver) associated with this request. |
string | abc1234 | ||||||||||||||||||||||||||||
PlaceId | The ID of the Place to be added as a stop on a route. If PlaceId is included, other location attributes in the request are ignored, including an address or coordinates. The PlaceId for a location can be retrieved using our Single Search API. Available in dataVersion PCM35 and later.
|
string | 0xXBS0oPl3cEyBAGYYwU10_g | ||||||||||||||||||||||||||||
Region | The data region in which stop coordinates lie. Required to specify regions outside of NA.
| Enum
0 - Unknown | 1 - AF 2 - AS 3 - EU 4 - NA (Default) 5 - OC 6 - SA 7 - ME AbbreviationFormat
| The abbreviation format for the country code. See country code table in Appendix. Also applies to states in Mexico.
|
| Enum 0 - FIPS | 1 - ISO2 2 - ISO3 3 - GENC2 4 - GENC3 ID
| The user created stop ID.
|
| String Stop_1
| Label
| The user created name for the stop.
|
| String Andrew's Garage
| Costs
| An object that specifies the cost of each stop.
|
| Complex Costs has the following parameters: | CostOfStop ',' HoursPerStop ',' Loaded' ,' OnDuty' ,' UseOrigin CostOfStop - Float HoursPerStop - Float Loaded - boolean OnDuty - boolean UseOrigin - boolean EarliestArrivalTime
| The start of the arrival time window at the stop. The value must be in ISO-8601 format.
|
| string 2023-09-19T16:45:00
| LatestArrivalTime
| The end of the arrival time window at the stop. The value must be in ISO-8601 format.
|
| string 2023-09-19T18:00:00
| StopType
| An identifier for special types of stops used in Hours of Service (HOS) reports.
|
| string Possible values are: | BorderCrossing Waypoint |
Route Options
These parameters customize the way the routing algorithm generates a route.
Data Element | Description | Data Type | Value/Example | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
profileName | The name of the vehicle routing profile to be used in calculations. A vehicle routing profile is a preset collection of vehicle dimensions and other routing options that ensure the routing algorithm knows the type of vehicle being driven so it can generate a safe, efficient, and legal route. |
String | Default is null. Read more about selecting a vehicle routing profile. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
VehicleType | Restricts the route to roads that are accessible by the selected vehicle type. |
Enum | 0 - Truck (Default) 1 - LightTruck 2 - Auto 3 - Midsize Truck 4 - School Bus 5 - RV/Caravan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RoutingType | The type of route you want to calculate. |
Enum | 0 - Practical (Default) 1 - Shortest 2 - Fastest | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HighwayOnly | Indicates whether to use highways only for routing. This setting is intended only for generating distances between cities or postal codes. The default is false for GET calls to route reports, which means local streets may be used in routing. For POST calls, the default is true. |
boolean | True (Default for POST calls) False (Default for GET calls) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ClassOverrides |
Deprecated in PC*Miler 38 and later. A comma separated list of class overrides. This allows you to select whether a truck with a 48' or shorter trailer should still adhere to routing for larger (53') trucks along the National Network. (U.S. Only)Note that if Length is larger than 48' (e.g. 48.1') and/or Width is larger than 96"
(e.g. 96.1"), then ClassOverrides is set to 3(National Network + FiftyThreeFoot) without an option to
turn it off; if Length is smaller than 48' and Width is smaller than 96", then
ClassOverrides is set to 0(None) by default. However, you can still provide overrideClass
param to override it.
|
Enum | 0 - None (Default) 1 - FiftyThreeFoot 2 - NationalNetwork 3 - NationalNetwork and FiftyThreeFoot | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DistanceUnits | Sets whether to use miles or kilometers in distance and speed measurements. |
Enum | 0 - Miles (Default) 1 - Km | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TollDiscourage | Indicates whether or not to avoid tolls. This parameter has been deprecated. Use TollRoads instead.
|
boolean | True False (Default) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TollRoads | Indicates whether or not to avoid toll roads when generating a route. If this parameter is specified, the value in TollDiscourage will be ignored. If this parameter is null, the value in TollDiscourage will be used. Available in dataVersion PCM34 and later. Use TollDiscourage for older versions.
|
int | 1 - Always Avoid: The routing algorithm will attempt to block all access to this road in route calculations. The road may only be used in exceptional circumstances, where there is no other option but to use it. 2 - Avoid if Possible: The routing algorithm will try to avoid the road unless the route becomes significantly longer in time, distance, or both. 3 - Use: A toll road will be used when it is the quicker or shorter route. Default is null. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AvoidCountry | A comma-separated list of ISO2 codes for countries that should be avoided when generating a route. Default is an empty list. This parameter is for regions outside of North America. Available in PCM34 and later. | A list of comma-separated countries.
array of strings | ["BE", "LU"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AvoidState | A comma-separated list of ISO2 codes for states that should be avoided when generating a route. Default is an empty list. This parameter is for North America only. Available in PCM34 and later. | A list of comma-separated states.
array of strings | ["DE", "RI"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FavorCountry | A comma-separated list of ISO2 codes for countries that should be favored when generating a route. Default is an empty list. This parameter is for regions outside of North America. Available in PCM34 and later. | A list of comma-separated countries.
array of strings | ["DE", "FR"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FavorState | A comma-separated list of ISO2 codes for states that should be favored when generating a route. Default is an empty list. This parameter is for North America only. Available in PCM34 and later. | A list of comma-separated states.
array of strings | ["PA", "CT"] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BordersOpen | Sets whether or not international borders are open to travel. Set to false to minimize the
number of international border crossings, unless they are necessary to reach all of the stops on a route. For
example, if all your stops are in the “lower 48” United States, the resulting route will stay in the United States
even if the most practical or shortest route would normally involve some Canadian mileage. The true option ignores international boundaries in generating the best route. |
boolean | True (Default) False | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OverrideRestrict | Indicates whether or not to override truck restrictions pertaining to specific sizes and weights when generating a route. |
boolean | True False (Default) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HazMatType | Indicates the hazardous material type. Read more about hazmat routing. |
Enum | 0 - None (Default) 1 - General 2 - Caustic 3 - Explosives 4 - Flammable 5 - Inhalants 6 - Radioactive 7 - HarmfulToWater 8 - Tunnel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HazMatTypes | An array of hazardous material types to apply when generating a route. Read more about hazmat routing. |
Array of HazMatType | 0 - None (Default) 1 - General 2 - Caustic 3 - Explosives 4 - Flammable 5 - Inhalants 6 - Radioactive 7 - HarmfulToWater 8 - Tunnel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TunnelCategory | The tunnel category to apply when generating a route. (Europe only)
| Enum 0 - None (Default) | 1 - TunnelBCDE 2 - TunnelCDE 3 - TunnelDE 4 - TunnelE TunnelCategories
| An array of tunnel categories to apply when generating a route. (Europe only)
|
| Array of TunnelCategory 0 - None (Default) | 1 - TunnelBCDE 2 - TunnelCDE 3 - TunnelDE 4 - TunnelE RouteOptimization
| Indicates the method by which to optimize route stops.
|
| Enum 0 - None (Default) | 1 - ThruAll 2 - DestinationFixed HubRouting
| Indicates whether or not to enable hub routing. Hub Routing generates routes from a single starting place (origin) to multiple destinations.
|
| boolean True | False (Default) Units
| Vehicle dimension units
|
| Enum 0 - English (Default) | 1 - Metric Height
|
The height of the truck in feet and inches or meters depending on | Units .
Valid range is between 60 and 180 inches in English units, or between 2 and 5 meters in Metric units.
| string Read more about setting vehicle dimensions.
| Length
|
The length of a straight truck/van or combined vehicle’s trailer in inches or meters depending on | Units . You do not need to include the tractor's length in this value for a tractor/trailer. If you have tandem trailers that don't articulate (rigid connection) then it would be the combined length of the trailers. More than just a legal setting, Length is used to calculate turning radius using the maximum straight length to see if the driver can make the turn.
Valid range is between 96 and 840 inches in English units, or between 5 and 25 meters in Metric units.
| string Read more about setting vehicle dimensions.
| Width
|
The width of the truck in inches or meters depending on | Units .
Valid range is between 60 and 102 inches in English units, or between 2 and 3 meters in Metric units.
| string Read more about setting vehicle dimensions.
| Weight
|
The weight of the truck in pounds or kilograms depending on | Units .
Valid range is between 1500 and 156470 pounds in English units, or between 680.39 and 60000 kilograms in Metric units.
| string Read more about setting vehicle dimensions.
| Axles
| The number of axles on the truck
|
| Int Acceptable values are 2 through 14 and the default value is 5
| MaxWeightPerAxleGroup
| The maximum weight per axle group in pounds or kilograms depending on | Units .Valid range is between 800 to 45000 pounds in English units, or between 1000 to 20000 kilograms in Metric units.
| double Read more about setting vehicle dimensions.
| LCV
| Indicates whether the truck is a multi-trailer or longer combination vehicle.
|
| boolean True | False (Default) Refrigerated
| Indicates whether the truck trailer is refrigerated. This parameter is used in State and Mileage reports to
calculate "Tank-To-Wheel" (TTW) greenhouse gas (GHG) emissions. (Europe only)
|
| boolean True | False (Default) FuelConsumption
| The amount of fuel a vehicle consumes in liters per 100 km. The format of this value is a floating point number (for example, 23.5). | This individual value overrides the default fuel consumption values which are used when this parameter is set to 0. The default values for fuel consumption are based on UK DEFRA 2018. It provides average fuel consumption by weight class and vehicle setup, which are calculated automatically based on the dimension settings in the vehicle routing profile. This parameter is used in State and Mileage reports to calculate "Tank-To-Wheel" (TTW) greenhouse gas (GHG) emissions. It is not used for fuel cost calculations. (Europe only)
| double Default is 0
| FuelType
| Indicates the type of fuel used. This parameter is used in State and Mileage reports to calculate
"Tank-To-Wheel" (TTW) greenhouse gas (GHG) emissions. Default is Diesel. (Europe only)
|
| EnumFuelType 0 - FuelType_Petrol | 1 - FuelType_Petrol_E5 (5% ethanol by vol) 2 - FuelType_Petrol_E10 (10% ethanol by vol) 3 - FuelType_Ethanol 4 - FuelType_Diesel (Default) 5 - FuelType_Biodiesel 6 - FuelType_Diesel_D5 (5% biodiesel by vol) 7 - FuelType_Diesel_D7 (7% biodiesel by vol) SideOfStreetAdherence
| How strict to be in order to avoid the destination being on the opposite side of the street.
|
| Enum
0 - Off (Default)
| 1- Minimal 2 - Moderate 3 - Average 4 - Strict 5 - Adhere 6 - StronglyAdhere UseCrossStreetTurnAvoidance
| When set to true, it reduces the chances the route generated includes turns that go across the street in front of oncoming traffic. These turns will still be included if there is no reasonable alternative. (For auto and van Vehicle Routing Profiles only)
|
| boolean True | False (Default). GovernorSpeedLimit
| Maximum average road speed to use in route calculations that overrides all other road speeds when they are above
this value. Default is disabled and valid value is between 1 and 100 mph.
|
| double The format is in mph or kph based on | DistanceUnits .
ElevLimit
|
Indicates the elevation limit when generating a route. Default value is null. Elevation unit can be either meters
or feet is determined by the | DistanceUnits parameter. Miles = feet, Kilometers = meters.
Available for dataVersion Current, PCM_NA, and PCM29 and later. Limit will be ignored if: Routing is deemed impractical with
the limit, or a stop is located at an elevation higher than the limit. (North America only)
| Int 3000
| FerryDiscourage
| Indicates whether or not to discourage the use of ferries when creating the route.
|
| boolean True | False (Default) UseSites
|
Indicates whether the stops are on Sites or not and accordingly considers Site Gates in Routing. The default value
is false. This setting cannot be used with | HighwayOnly routing.
| boolean True | False (Default) AFSetIDs
| The IDs of the Route Modifier (avoid/favor) sets that should be applied to the route. The format is comma separated IDs. The IDs are integers. Set to [-1] to select all sets.
| List of comma separated IDs
| 24,133,204
| AFSetNames | The names of the Route Modifier (avoid/favor) sets that should be applied to the route. Default is an empty set.
| List of comma separated names.
| Highways,TollRoads,Malls
| TrlType
| The type of trailer. This and all trailer related information below is used for Toll reports in Europe
|
| Enum
1 - None (Default) | 2 - Caravan 3 - Trailer TrlCount
| The number of trailers and semi-trailers. Default is 0. For Toll reports in Europe.
|
| Int 0
| TrlMaxHt
| Do not use.
|
| string 20'
| TrlMaxWt
| Do not use.
|
| Int 30000
| TrlMaxAxles
| The maximum number of axles on the trailer. Acceptable values are 1 through 8. The default value is 1.
|
| Int 1
| Hybrid | Indicates whether the vehicle has a hybrid engine. Default is false. For Toll reports in Europe.
|
| boolean True | False (Default) EmissionType
| The emission type of the engine. For Toll reports in Europe.
|
| Enum 2 - Euro0 | 3 - EuroI 4 - EuroII 5 - EuroIII 6 - EuroIV 7 - EuroV 8 - EuroVI (Default) 9 - EuroEEV CO2Class
| The CO₂ class of the vehicle. For Toll reports in Europe.
|
| Enum 0 - Unknown | 1 - Class1 (Default) 2 - Class2 3 - Class3 4 - Class4 5 - Class5 MinPollutionVeh
| Indicates whether vehicle is a minimum vehicle pollution. Default is false. For Toll reports in Europe.
|
| boolean True | False (Default) RestrictionZones (Europe Only)
| An object that sets whether the route can pass through a | CongestionZone , a LowEmissionZone , or an UltraLowEmissionZone . For each type of zone, three settings are available:
| enum "RestrictionZones": { |  "CongestionZone": 2,  "LowEmissionZone": 2,  "UltraLowEmissionZone": 1 } MaintainHeading
| When this option is set, a vehicle will attempt to avoid u-turns at intermediate stops and instead leave the stop in the same direction it entered it. When using the school bus vehicle profiles, this option will be automatically set to true if not supplied. |
| boolean True | False (Default) ProfileId
| The ID of the vehicle routing profile to be used in calculations. A vehicle routing profile is a preset collection of vehicle dimensions and other routing options that ensure the routing algorithm knows the type of vehicle being driven so it can generate a safe, efficient, and legal route.
|
| Int Default is null
| |
Report Options
These parameters help customize the information returned in reports.
Data Element | Description | Data Type | Value/Example |
---|---|---|---|
EstimatedTimeOptions |
Estimated time options allow you to select when you would like to depart from your origin or arrive at your destination. You must select one of three options for your arrival or departure: The current time and day; a day of the week and time of day; or a specific date and time of day. This time will be reflected in mileage and detailed reports and can also affect routing with roads that have time-based restrictions. EstimatedTimeOptions is an object with the following values:
|
object |
Example:
"EstimatedTimeOptions": {
|
UseTraffic | Indicates whether or not to use traffic data. When set to true, the routing algorithm will consider traffic closures when selecting the route and use historical traffic patterns to calculate the trip’s ETA and travel time. If set to true, and the trip’s departure time is also set to within 15 minutes of the current time, real-time traffic data will be used for the first 15 miles and historical traffic patterns will be used for the remainder of the route. (By default, UseTraffic is false, and ETA and travel time are computed using Trimble Maps’s average road speeds by road class.)
|
boolean | True False (Default) |
UseTollData | Indicates whether or not toll data should be used. |
boolean | True False (Default) |
IncludeRoadClass | Indicates whether or not to return RoadClass in Detailed and Directions reports.
|
boolean | True False (Default) |
FuelUnits | Fuel Units. |
Enum | 0 - Gallons 1 - Liters |
FuelEconomyLoaded | The fuel efficiency (distance units per fuel units) when loaded. See default values for trip costs. |
double | A decimal value such as 11.9 |
FuelEconomyEmpty | The fuel efficiency (distance units per fuel units) when empty. See default values for trip costs. |
double | A decimal value such as 11.9 |
PricePerFuelUnit | The cost per fuel unit of fuel. See default values for trip costs. |
double | A decimal value such as 4.75 |
GreenHouseGas | Greenhouse gas emissions in pounds or kilograms of carbon dioxide (CO2) per gallon. See default values for trip costs. |
double | A decimal value such as 22.4 |
OtherCostPerDistUnitLoaded | The maintenance cost per distance unit when loaded. See default values for trip costs. |
double | A decimal value such as .21 |
OtherCostPerDistanceUnitEmpty | The maintenance cost per distance unit when empty. See default values for trip costs. |
double | A decimal value such as .21 |
CostTimeLoaded | The labor cost per hour when the vehicle is loaded. See default values for trip costs. |
double | A decimal value such as 45.2 |
CostTimeEmpty | The labor cost per hour when the vehicle is empty. See default values for trip costs. |
double | A decimal value such as 45.2 |
TollCurrency | The toll currency. US is default in NA and EUR is default in Europe. |
Enum | 0 - US 1 - CDN For Toll Detail Report values below start at 2 (ALL) through 26 (UAH) ALL - Albanian lek AMD - Armenian dram AZN - Azerbaijani manat BAM - Bosnia and Herzegovina convertible mark BGN - Bulgarian lev BYR - Belarusian ruble CHF - Swiss franc CZK - Czech koruna DKK - Danish krone EUR - Euros GBP - Pound sterling GEL - Georgian lari HRK - Croatian kuna HUF - Hungarian forint ISK - Icelandic króna: second króna MDL - Moldovan leu MKD - Second Macedonian denar NOK - Norwegian krone PLN - Polish złoty RON - Fourth Romanian leu RSD - Serbian dinar RUB - Russian ruble SEK - Swedish krona TRY - Turkish lira UAH - Ukrainian hryvnia |
ExchangeRate | The exchange rate for changing currency listed in the tollCurrency query parameter to the cost units in which everything else is being calculated. The format of this value is a floating point number. (North America only, when exchanging between U.S. and Canadian dollars) |
double | |
TollDiscount | Indicates the toll discount plan to consider when calculating toll costs. |
string | Default is none. Possible values are a comma-separated list of toll discount programs. |
IncludeFerryDistance | Indicates whether or not to include ferry distances in mileage calculations. (North America only) |
boolean | True (Default) False |
Language | The language to use in reports. |
Enum | 0 - ENUS (U.S. English) 1 - ENGB (Great Britain English) 2 - DE (German) 3 - FR (French) 4 - ES (Spanish) 5 - IT (Italian) |
RouteId | routeId is used to identify the current report request. |
string | NewYorkToLA |
ReportTypes
Parameter | Definition | Required |
---|---|---|
ReportTypes
| An array of report _type that lists the reports to return. See sample requests for format. Some reports include optional parameters as detailed below.
| Y |
Report Type | Description | Optional Parameters |
---|---|---|
MileageReportType
| The Mileage Report provides the distance, time, and cost for each stop on a route. It can be set to retrieve distances in miles (default) or kilometers with the DistanceUnits parameter.
| TimeInSeconds - A boolean value for whether or not to return THours and LHours to the seconds precision. HH:MM:SS. (Use in place of THoursWithSeconds , a legacy parameter that only sets THours to seconds.)
|
DetailReportType
| The Detailed Report provides a comprehensive report for each leg of the route. | |
CalculateMilesReportType
| The CalcMiles Report is used to calculate the distance of a route. It can be set to retrieve distances in miles (default) or kilometers with the DistanceUnits parameter. Available for dataVersion PCM24 and Later
| |
DirectionsReportType
| The Directions Report provides turn-by-turn directions for a route. | CondenseDirections - A boolean value for whether or not to condense the driving directions within the report.
|
GeoTunnelReportType
| The GeoTunnel Report provides a series of latitude/longitude points along a route. A GeoTunnel report request must also include a CiteInterval parameter—The interval in miles where the lat/longs are to be cited/along the route. Available for dataVersion PCM24 and Later
| |
HoursOfServiceReportType
| Read more about Hours of Service reports. | |
LeastCostReportType
| 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 PCM24 and Later
| |
RoadReportType
| The Road Report provides provides a distance breakdown by road category for each leg of the route. Available for dataVersion PCM20 and Later
| |
StateReportType
| The State Report provides detailed mileage information for each state or country traveled through on the route. | |
TollDetailReportType
| Read more about Toll Detail Reports. | |
RoutePathReportType
| The Route Path Report retrieves a series of geographic coordinates that make up a route. The route is generated using the parameters below. Available for dataVersion PCM34 and Later
| |
WeatherAlertsReportType
| The Weather Alerts Report provides detailed descriptions of all alerts generated along the route. We recommend setting a departure time for the route so the report does not return alerts that expire before a vehicle would reach an alert area. Use EstimatedTimeOptions to set the departure time. Available for dataVersion PCM29 and Later
|
Sample Requests
The sample requests below show all of the parameters available to customize Route Reports. Depending on your use case, you may only need to set a handful of those parameters in your API calls. Please also see our How to Guides for examples of common tasks and the API calls needed to complete them.
Sample Request Body - North America
POST https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/route/routeReports?dataversion=Current HTTP/1.1
Content-Type: Application/JSON
Authorization: YOURAPIKEY
Host: pcmiler.alk.com
Content-Length: 6343
{
"ReportRoutes": [{
"RouteId": "",
"Stops": [{
"Address": {
"StreetAddress": "",
"City": "Philadelphia",
"State": "PA",
"Zip": "19123",
"County": "",
"Country": "US",
"SPLC": "",
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "",
"StateAbbreviation": "",
"CountryAbbreviation": ""
},
"Coords": {
"Lat": "",
"Lon": ""
},
"Region": 4,
"Label": "Origin",
"PlaceName": "",
"PlaceId": "",
"Costs": {
"CostOfStop": 0,
"HoursPerStop": 0,
"Loaded": true,
"OnDuty": true,
"UseOrigin": true
},
"ID": "Origin",
"IsViaPoint": false,
"SideOfStreetAdherence": 0,
"LatestArrivalTime": null,
"EarliestArrivalTime": null
},
{
"Address": {
"StreetAddress": "",
"City": "Princeton",
"State": "NJ",
"Zip": "08540",
"County": "",
"Country": "US",
"SPLC": "",
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "",
"StateAbbreviation": "",
"CountryAbbreviation": ""
},
"Coords": {
"Lat": "",
"Lon": ""
},
"Region": 4,
"Label": "Stop 1",
"PlaceName": "",
"PlaceId": "",
"Costs": {
"CostOfStop": 0,
"HoursPerStop": 0,
"Loaded": true,
"OnDuty": true,
"UseOrigin": true
},
"ID": "Stop 1",
"IsViaPoint": false,
"SideOfStreetAdherence": 0
},
{
"Address": {
"StreetAddress": "",
"City": "NY",
"State": "NY",
"Zip": "10001",
"County": "",
"Country": "US",
"SPLC": "",
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "",
"StateAbbreviation": "",
"CountryAbbreviation": ""
},
"Coords": {
"Lat": "",
"Lon": ""
},
"Region": 4,
"Label": "Destination",
"PlaceName": "",
"PlaceId": "",
"Costs": {
"CostOfStop": 0,
"HoursPerStop": 0,
"Loaded": true,
"OnDuty": true,
"UseOrigin": true
},
"ID": "Dest",
"IsViaPoint": false,
"SideOfStreetAdherence": 0
}
],
"Options": {
"AFSetIDs": [-1],
"AFSetNames": [""],
"BordersOpen": true,
"ClassOverrides": 0,
"DistanceUnits": 0,
"ElevLimit": 0,
"FerryDiscourage": false,
"FuelConsumption": 1.26,
"FuelRoute": false,
"FuelType": 0,
"GovernorSpeedLimit": 55,
"HighwayOnly": true,
"HoSOptions": {
"Enabled": false,
"RemainingDriveTimeUntilBreak": null,
"RemainingDriveTime": null,
"RemainingOnDutyTime": null,
"HoSRuleType": null,
"RemainingCycleDutyTime": null,
"CycleTimeGains": [],
"LastCycleResetDateTime": "",
"Last24HourBreakDateTime": "",
"RemainingCanadaOnDutyTime": null,
"RemainingDriveTimeUntilBreakDriver2": null,
"RemainingDriveTimeDriver2": null,
"RemainingOnDutyTimeDriver2": null,
"RemainingCycleDutyTimeDriver2": null,
"CycleTimeGainsDriver2": [],
"LastCycleResetDateTimeDriver2": "",
"Last24HourBreakDateTimeDriver2": "",
"RemainingCanadaOnDutyTimeDriver2": null,
"AlternateHoSRuleType": null,
"RemainingTimeUntilFullDayBreak": null,
"RemainingTimeUntilFullDayBreakDriver2": null,
"RemainingDrivingTimeInWeek": null,
"RemainingOnDutyTimeInDay": null,
"RemainingConsecutiveDrivingTime": null,
"RemainingFortnightlyTime": null,
"CurrentOffDutyTime": null,
"CurrentOffDutyTimeDriver2": null,
"UseCycleReset": true,
"TerminalDayStartTime": "",
"UseCustomPlaces": true,
"TeamDriving": true,
"CustomBreakDurations": {
"ShortBreakDuration": null,
"EndOfDutyBreakDuration": null,
"CycleResetBreakDuration": null,
"DriverSwitchBreakDuration": null,
"BorderCrossingWaitDuration": null
},
"Deprecated": 0,
"MaxAlternateRestStops": null,
"SkipRestStopInsertion": true,
"ActiveDriver": 1,
"MaxDrivingTimeInDay": null,
"MaxOnDutyTimeInDay": null,
"MaxOnDutyTimeInWeek": null,
"AdverseConditionException": false,
"POIStopsReturned": true,
"HOSWindowStart": null,
"HOSWindowEnd": null
},
"HubRouting": false,
"MaintainHeading": true,
"OverrideRestrict": false,
"profileName": "Heavy Duty Doubles",
"Refrigerated": true,
"RouteOptimization": 0,
"RoutingType": 0,
"SideOfStreetAdherence": 0,
"TollDiscourage": true,
"TrailerCfg": {
"TypeOfTrailer": 1,
"Count": null,
"MaxHeight": "",
"MaxWeight": null,
"MaxAxles": null,
"Engine": {
"Hybrid": true,
"EmissionType": 8,
"MinPollutionVeh": true
}
},
"TruckCfg": {
"Axles": 2,
"Height": "",
"LCV": false,
"Length": "",
"MaxWeightPerAxleGroup": 10000,
"TireCount": 8,
"Units": 0,
"Weight": "20000",
"Width": ""
},
"UseSites": true,
"VehicleProfile": 0,
"TrafficLookaheadDistance": 5,
"AvoidCountry": ["FR"],
"AvoidState": [""],
"FavorCountry": ["IT"],
"FavorState": [""],
"IncludeTrimblePlaceIDs": false,
"TollRoads": 2,
"HazMatTypes": [1, 2],
"TunnelCategories": [1, 2],
"useCrossStreetTurnAvoidance": true,
"RestrictionZones": {
"CongestionZone": 2,
"LowEmissionZone": 1,
"UltraLowEmissionZone": 2
}
},
"AssetId": "12345",
"ReportingOptions": {
"EstimatedTimeOptions": {
"ETAETD": 0,
"DateOption": 0,
"DateAndTime": {
"CalendarDate": "",
"DayOfWeek": 3,
"TimeOfDay": "07:00",
"TimeZone": 0
}
},
"IncludeVehicleRestrictedCleanupPoints": true,
"UseTraffic": true,
"ExchangeRate": 1.26,
"FuelUnits": 0,
"IncludeFerryDistance": true,
"IncludeRoadClass": true,
"Language": 0,
"TollCurrency": 0,
"TollDiscount": "",
"UseEUTollsReport": false,
"UseTollData": true
},
"ReportTypes": [{
"__type": "DirectionsReportType:http://pcmiler.alk.com/APIs/v1.0",
"CondenseDirections": false
},
{
"__type": "MileageReportType:http://pcmiler.alk.com/APIs/v1.0",
"TimeInSeconds": false
}
]
}]
}
Sample Response - North America
[{
"__type": "DirectionsReport:http://pcmiler.alk.com/APIs/v1.0",
"Origin": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "Philadelphia",
"State": "PA",
"Zip": "19123",
"County": "Philadelphia",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Pennsylvania",
"StateAbbreviation": "PA",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "39.965177",
"Lon": "-75.152564"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Origin",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Origin"
},
"RouteID": "",
"Destination": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "New York",
"State": "NY",
"Zip": "10001",
"County": "New York",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "New York",
"StateAbbreviation": "NY",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "40.749416",
"Lon": "-73.993754"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Destination",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Dest"
},
"ReportLegs": [{
"Origin": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "Philadelphia",
"State": "PA",
"Zip": "19123",
"County": "Philadelphia",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Pennsylvania",
"StateAbbreviation": "PA",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "39.965177",
"Lon": "-75.152564"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Origin",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Origin"
},
"ReportLines": [{
"Warn": null,
"Direction": "Origin, Philadelphia, PA 19123",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.965177",
"Lon": "-75.152564"
},
"End": {
"Lat": "39.965177",
"Lon": "-75.152564"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}, {
"Warn": null,
"Direction": "Go south on Local",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.965177",
"Lon": "-75.152564"
},
"End": {
"Lat": "39.961417",
"Lon": "-75.148191"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}, {
"Warn": null,
"Direction": "Drive 0.418 miles",
"Dist": "0.418",
"Time": "0:01",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.965177",
"Lon": "-75.152564"
},
"End": {
"Lat": "39.961417",
"Lon": "-75.148191"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}, {
"Warn": null,
"Direction": "Turn right on North 6th Street",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.961417",
"Lon": "-75.148191"
},
"End": {
"Lat": "39.961308",
"Lon": "-75.14822"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "0.426",
"Time": "0:01",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.961417",
"Lon": "-75.148191"
},
"End": {
"Lat": "39.961308",
"Lon": "-75.14822"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Turn left on Spring Garden Street",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.961308",
"Lon": "-75.14822"
},
"End": {
"Lat": "39.960109",
"Lon": "-75.137334"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Drive 0.583 miles (~3 min)",
"Dist": "1.009",
"Time": "0:04",
"InterCh": null,
"Delay": "0:01",
"Begin": {
"Lat": "39.961308",
"Lon": "-75.14822"
},
"End": {
"Lat": "39.960109",
"Lon": "-75.137334"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Turn right on North Columbus Boulevard",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.960109",
"Lon": "-75.137334"
},
"End": {
"Lat": "39.954225",
"Lon": "-75.139735"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Drive 0.428 miles",
"Dist": "1.437",
"Time": "0:05",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.960109",
"Lon": "-75.137334"
},
"End": {
"Lat": "39.954225",
"Lon": "-75.139735"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Turn right on Summer Street",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.954225",
"Lon": "-75.139735"
},
"End": {
"Lat": "39.954317",
"Lon": "-75.14018"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "1.461",
"Time": "0:05",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.954225",
"Lon": "-75.139735"
},
"End": {
"Lat": "39.954317",
"Lon": "-75.14018"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Straight on ramp to I-95 North - Delaware Expressway",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "39.954317",
"Lon": "-75.14018"
},
"End": {
"Lat": "39.956772",
"Lon": "-75.140733"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive 0.183 miles on Ramp",
"Dist": "1.644",
"Time": "0:06",
"InterCh": null,
"Delay": "0:01",
"Begin": {
"Lat": "39.954317",
"Lon": "-75.14018"
},
"End": {
"Lat": "39.956772",
"Lon": "-75.140733"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive 18.162 miles (~29 min)",
"Dist": "19.806",
"Time": "0:35",
"InterCh": null,
"Delay": "0:09",
"Begin": {
"Lat": "39.956772",
"Lon": "-75.140733"
},
"End": {
"Lat": "40.120224",
"Lon": "-74.887764"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Take left Exit 40 (Trenton) to I-295 East",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.120224",
"Lon": "-74.887764"
},
"End": {
"Lat": "40.121164",
"Lon": "-74.887757"
},
"TurnInstruction": "TC_BearLeft",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles on Exit 40 (Trenton) (~ 1 block)",
"Dist": "19.871",
"Time": "0:35",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.120224",
"Lon": "-74.887764"
},
"End": {
"Lat": "40.121164",
"Lon": "-74.887757"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive 11.118 miles (~12 min) (to PA/NJ State Line)",
"Dist": "30.989",
"Time": "0:47",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.121164",
"Lon": "-74.887757"
},
"End": {
"Lat": "40.259232",
"Lon": "-74.846875"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Drive 7.169 miles (~8 min)",
"Dist": "38.158",
"Time": "0:55",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.259232",
"Lon": "-74.846875"
},
"End": {
"Lat": "40.285585",
"Lon": "-74.731016"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Take Exit 69A to US-206 North",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.285585",
"Lon": "-74.731016"
},
"End": {
"Lat": "40.285239",
"Lon": "-74.732179"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive 0.233 miles on Exit 69A",
"Dist": "38.391",
"Time": "0:56",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.285585",
"Lon": "-74.731016"
},
"End": {
"Lat": "40.285239",
"Lon": "-74.732179"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive 5.956 miles (~11 min)",
"Dist": "44.347",
"Time": "1:06",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.285239",
"Lon": "-74.732179"
},
"End": {
"Lat": "40.348232",
"Lon": "-74.664429"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Stay on US-206 North as it turns left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.348232",
"Lon": "-74.664429"
},
"End": {
"Lat": "40.372119",
"Lon": "-74.662573"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Drive 1.826 miles (~3 min)",
"Dist": "46.173",
"Time": "1:10",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.348232",
"Lon": "-74.664429"
},
"End": {
"Lat": "40.372119",
"Lon": "-74.662573"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Turn right on Ewing Street",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.372119",
"Lon": "-74.662573"
},
"End": {
"Lat": "40.354464",
"Lon": "-74.645911"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive 1.544 miles (~5 min)",
"Dist": "47.717",
"Time": "1:14",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.372119",
"Lon": "-74.662573"
},
"End": {
"Lat": "40.354464",
"Lon": "-74.645911"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Turn left on Local",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.354464",
"Lon": "-74.645911"
},
"End": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "47.784",
"Time": "1:14",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.354464",
"Lon": "-74.645911"
},
"End": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}
],
"Dest": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "Princeton",
"State": "NJ",
"Zip": "08540",
"County": "Mercer",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "New Jersey",
"StateAbbreviation": "NJ",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Stop 1",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Stop 1"
}
}, {
"Origin": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "Princeton",
"State": "NJ",
"Zip": "08540",
"County": "Mercer",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "New Jersey",
"StateAbbreviation": "NJ",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Stop 1",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Stop 1"
},
"ReportLines": [{
"Warn": null,
"Direction": "Stop 1, Princeton, NJ 08540",
"Dist": "47.784",
"Time": "1:14",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"End": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}, {
"Warn": null,
"Direction": "Go south on Local",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"End": {
"Lat": "40.353977",
"Lon": "-74.645503"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}, {
"Warn": null,
"Direction": "Drive 0.083 miles",
"Dist": "47.867",
"Time": "1:15",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"End": {
"Lat": "40.353977",
"Lon": "-74.645503"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "local"
}, {
"Warn": null,
"Direction": "Keep right on NJ-27 South",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.353977",
"Lon": "-74.645503"
},
"End": {
"Lat": "40.350398",
"Lon": "-74.657124"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Drive 0.659 miles (~2 min)",
"Dist": "48.526",
"Time": "1:17",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.353977",
"Lon": "-74.645503"
},
"End": {
"Lat": "40.350398",
"Lon": "-74.657124"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Turn left on Route 571 East - Washington Road",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.350398",
"Lon": "-74.657124"
},
"End": {
"Lat": "40.331529",
"Lon": "-74.638347"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Drive 1.648 miles (~4 min)",
"Dist": "50.174",
"Time": "1:21",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.350398",
"Lon": "-74.657124"
},
"End": {
"Lat": "40.331529",
"Lon": "-74.638347"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "At circle, take second exit on US-1 North",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.331529",
"Lon": "-74.638347"
},
"End": {
"Lat": "40.331265",
"Lon": "-74.638203"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": true,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "50.195",
"Time": "1:21",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.331529",
"Lon": "-74.638347"
},
"End": {
"Lat": "40.331265",
"Lon": "-74.638203"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "primary"
}, {
"Warn": null,
"Direction": "Drive 34.040 miles (~1 hr 5 min)",
"Dist": "84.235",
"Time": "2:26",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.331265",
"Lon": "-74.638203"
},
"End": {
"Lat": "40.676822",
"Lon": "-74.197516"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "divided"
}, {
"Warn": null,
"Direction": "Stay on US-1 North as it bears left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.676822",
"Lon": "-74.197516"
},
"End": {
"Lat": "40.708446",
"Lon": "-74.165384"
},
"TurnInstruction": "TC_BearLeft",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Drive 3.202 miles (~4 min)",
"Dist": "87.437",
"Time": "2:30",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.676822",
"Lon": "-74.197516"
},
"End": {
"Lat": "40.708446",
"Lon": "-74.165384"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Proceed ahead as name changes to US-1 North",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.708446",
"Lon": "-74.165384"
},
"End": {
"Lat": "40.73907",
"Lon": "-74.068167"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Drive 5.841 miles (~7 min)",
"Dist": "93.278",
"Time": "2:37",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.708446",
"Lon": "-74.165384"
},
"End": {
"Lat": "40.73907",
"Lon": "-74.068167"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": "Warning - Truck Restricted",
"Direction": "Warning - Truck Restricted",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.708446",
"Lon": "-74.165384"
},
"End": {
"Lat": "40.73907",
"Lon": "-74.068167"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Stay on NJ-139 East as US-1 splits off",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.73907",
"Lon": "-74.068167"
},
"End": {
"Lat": "40.730874",
"Lon": "-74.047872"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Drive 1.291 miles (~2 min) (Start toll)",
"Dist": "94.569",
"Time": "2:39",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.73907",
"Lon": "-74.068167"
},
"End": {
"Lat": "40.730874",
"Lon": "-74.047872"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": "Warning - Truck Restricted",
"Direction": "Warning - Truck Restricted",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.73907",
"Lon": "-74.068167"
},
"End": {
"Lat": "40.730874",
"Lon": "-74.047872"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Drive 0.433 miles (~ 3 blocks)",
"Dist": "95.002",
"Time": "2:40",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.730874",
"Lon": "-74.047872"
},
"End": {
"Lat": "40.72999",
"Lon": "-74.03969"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "interstate"
}, {
"Warn": null,
"Direction": "Stay on I-78 East - Holland Tunnel as NJ-139 splits off",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.72999",
"Lon": "-74.03969"
},
"End": {
"Lat": "40.727568",
"Lon": "-74.021076"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "divided"
}, {
"Warn": null,
"Direction": "Drive 0.989 miles (~2 min) (to NJ/NY State Line)",
"Dist": "95.991",
"Time": "2:42",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.72999",
"Lon": "-74.03969"
},
"End": {
"Lat": "40.727568",
"Lon": "-74.021076"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "divided"
}, {
"Warn": "Warning - Clearance: 12' 06\"; Max Length: 45'",
"Direction": "Warning - Clearance: 12' 06\"; Max Length: 45'",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.72999",
"Lon": "-74.03969"
},
"End": {
"Lat": "40.727568",
"Lon": "-74.021076"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "divided"
}, {
"Warn": null,
"Direction": "Take Holland Tunnel - I-78 East",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.727568",
"Lon": "-74.021076"
},
"End": {
"Lat": "40.722683",
"Lon": "-74.006823"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "divided"
}, {
"Warn": null,
"Direction": "Drive 0.847 miles (~2 min)",
"Dist": "96.838",
"Time": "2:44",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.727568",
"Lon": "-74.021076"
},
"End": {
"Lat": "40.722683",
"Lon": "-74.006823"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "divided"
}, {
"Warn": "Warning - Clearance: 12' 06\"; Max Length: 45'",
"Direction": "Warning - Clearance: 12' 06\"; Max Length: 45'",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.727568",
"Lon": "-74.021076"
},
"End": {
"Lat": "40.722683",
"Lon": "-74.006823"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "divided"
}, {
"Warn": null,
"Direction": "Straight on Exit 3 (Brooklyn) to Ericsson Place",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.722683",
"Lon": "-74.006823"
},
"End": {
"Lat": "40.720447",
"Lon": "-74.006853"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive 0.245 miles on Exit 3 (Brooklyn) (End toll)",
"Dist": "97.083",
"Time": "2:45",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.722683",
"Lon": "-74.006823"
},
"End": {
"Lat": "40.720447",
"Lon": "-74.006853"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "ramp"
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "97.113",
"Time": "2:45",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.720447",
"Lon": "-74.006853"
},
"End": {
"Lat": "40.72038",
"Lon": "-74.006284"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Stay on Beach Street as it bears right",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.72038",
"Lon": "-74.006284"
},
"End": {
"Lat": "40.717606",
"Lon": "-74.000219"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive 0.369 miles (~4 min)",
"Dist": "97.482",
"Time": "2:49",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.72038",
"Lon": "-74.006284"
},
"End": {
"Lat": "40.717606",
"Lon": "-74.000219"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Turn left on Centre Street",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.717606",
"Lon": "-74.000219"
},
"End": {
"Lat": "40.725147",
"Lon": "-73.995287"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive 0.585 miles (~4 min)",
"Dist": "98.067",
"Time": "2:53",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.717606",
"Lon": "-74.000219"
},
"End": {
"Lat": "40.725147",
"Lon": "-73.995287"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Turn left on East Houston Street",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.725147",
"Lon": "-73.995287"
},
"End": {
"Lat": "40.728398",
"Lon": "-74.002844"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive 0.457 miles (~3 min)",
"Dist": "98.524",
"Time": "2:56",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.725147",
"Lon": "-73.995287"
},
"End": {
"Lat": "40.728398",
"Lon": "-74.002844"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Turn right on Avenue of the Americas",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.728398",
"Lon": "-74.002844"
},
"End": {
"Lat": "40.74786",
"Lon": "-73.989192"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive 1.523 miles (~8 min)",
"Dist": "100.047",
"Time": "3:04",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.728398",
"Lon": "-74.002844"
},
"End": {
"Lat": "40.74786",
"Lon": "-73.989192"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Turn left on West 31st Street",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.74786",
"Lon": "-73.989192"
},
"End": {
"Lat": "40.749416",
"Lon": "-73.993754"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Drive 0.261 miles (~2 min)",
"Dist": "100.308",
"Time": "3:06",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.74786",
"Lon": "-73.989192"
},
"End": {
"Lat": "40.749416",
"Lon": "-73.993754"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": "Destination, New York, NY 10001",
"Dist": "100.308",
"Time": "3:06",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.749416",
"Lon": "-73.993754"
},
"End": {
"Lat": "40.749416",
"Lon": "-73.993754"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false,
"RoadClass": "secondary"
}, {
"Warn": null,
"Direction": " 2021 Trimble Inc.",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": null,
"End": null,
"TurnInstruction": null,
"DriveSide": null,
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "All drive times are approximate. ",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": null,
"End": null,
"TurnInstruction": null,
"DriveSide": null,
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "('~5 mins' indicates you should be on this segment for 'about 5 minutes'. )",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": null,
"End": null,
"TurnInstruction": null,
"DriveSide": null,
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "This suggested route is based on various data sources and may be incomplete or",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": null,
"End": null,
"TurnInstruction": null,
"DriveSide": null,
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "inaccurate in some cases. The user assumes full liability for any delay, loss",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": null,
"End": null,
"TurnInstruction": null,
"DriveSide": null,
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "or damage which may occur as a result of its use. Please obey local traffic laws.",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": null,
"End": null,
"TurnInstruction": null,
"DriveSide": null,
"IsRoundabout": false
}
],
"Dest": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "New York",
"State": "NY",
"Zip": "10001",
"County": "New York",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "New York",
"StateAbbreviation": "NY",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "40.749416",
"Lon": "-73.993754"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Destination",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Dest"
}
}
],
"AssetId": "12345"
}, {
"__type": "MileageReport:http://pcmiler.alk.com/APIs/v1.0",
"ReportLines": [{
"Stop": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "Philadelphia",
"State": "PA",
"Zip": "19123",
"County": "Philadelphia",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Pennsylvania",
"StateAbbreviation": "PA",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "39.965177",
"Lon": "-75.152564"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Origin",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Origin"
},
"LMiles": "0.000",
"TMiles": "0.000",
"LCostMile": "0.00",
"TCostMile": "0.00",
"LHours": "0:00",
"THours": "0:00",
"LTolls": "0.00",
"TTolls": "0.00",
"LEstghg": "0.0",
"TEstghg": "0.0",
"EtaEtd": "10/5/2021 13:45"
}, {
"Stop": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "Princeton",
"State": "NJ",
"Zip": "08540",
"County": "Mercer",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "New Jersey",
"StateAbbreviation": "NJ",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "40.354907",
"Lon": "-74.645014"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Stop 1",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Stop 1"
},
"LMiles": "47.784",
"TMiles": "47.784",
"LCostMile": "81.05",
"TCostMile": "81.05",
"LHours": "1:14",
"THours": "1:14",
"LTolls": "0.00",
"TTolls": "0.00",
"LEstghg": "159.8",
"TEstghg": "159.8",
"EtaEtd": "10/5/2021 15:00"
}, {
"Stop": {
"TimeZone": "EDT",
"Address": {
"StreetAddress": "",
"City": "New York",
"State": "NY",
"Zip": "10001",
"County": "New York",
"Country": "United States",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "New York",
"StateAbbreviation": "NY",
"CountryAbbreviation": "US"
},
"Errors": [],
"Coords": {
"Lat": "40.749416",
"Lon": "-73.993754"
},
"SpeedLimitInfo": null,
"Region": 4,
"ConfidenceLevel": "Exact",
"Label": "Destination",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Dest"
},
"LMiles": "52.524",
"TMiles": "100.308",
"LCostMile": "152.83",
"TCostMile": "233.88",
"LHours": "1:51",
"THours": "3:06",
"LTolls": "44.00",
"TTolls": "44.00",
"LEstghg": "175.6",
"TEstghg": "335.4",
"EtaEtd": "10/5/2021 16:51"
}
],
"RouteID": "",
"TrafficDataUsed": true,
"AssetId": "12345"
}
]
Sample Request - Europe
POST https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/route/routeReports?dataVersion=PCM_EU®ion=EU
Content-Type: Application/JSON
Authorization: APIKEYHERE
Host: pcmiler.alk.com
Content-Length: 6310
{
"ReportRoutes": [{
"RouteId": "",
"Stops": [{
"Address": {
"StreetAddress": "",
"City": "Rome",
"State": "",
"Zip": "",
"County": "",
"Country": "IT",
"SPLC": "",
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "",
"StateAbbreviation": "",
"CountryAbbreviation": ""
},
"Coords": {
"Lat": "",
"Lon": ""
},
"Region": 3,
"Label": "Origin",
"PlaceName": "",
"PlaceId": "",
"Costs": {
"CostOfStop": 0,
"HoursPerStop": 0,
"Loaded": true,
"OnDuty": true,
"UseOrigin": true
},
"ID": "Origin",
"IsViaPoint": false,
"SideOfStreetAdherence": 0,
"LatestArrivalTime": null,
"EarliestArrivalTime": null
},
{
"Address": {
"StreetAddress": "",
"City": "Naples",
"State": "",
"Zip": "",
"County": "",
"Country": "IT",
"SPLC": "",
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "",
"StateAbbreviation": "",
"CountryAbbreviation": ""
},
"Coords": {
"Lat": "",
"Lon": ""
},
"Region": 3,
"Label": "Stop 2",
"PlaceName": "",
"PlaceId": "",
"Costs": {
"CostOfStop": 0,
"HoursPerStop": 0,
"Loaded": true,
"OnDuty": true,
"UseOrigin": true
},
"ID": "Stop 1",
"IsViaPoint": false,
"SideOfStreetAdherence": 0
},
{
"Address": {
"StreetAddress": "",
"City": "Bari",
"State": "",
"Zip": "",
"County": "",
"Country": "IT",
"SPLC": "",
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "",
"StateAbbreviation": "",
"CountryAbbreviation": ""
},
"Coords": {
"Lat": "",
"Lon": ""
},
"Region": 3,
"Label": "Destination",
"PlaceName": "",
"PlaceId": "",
"Costs": {
"CostOfStop": 0,
"HoursPerStop": 0,
"Loaded": true,
"OnDuty": true,
"UseOrigin": true
},
"ID": "Dest",
"IsViaPoint": false,
"SideOfStreetAdherence": 0
}
],
"Options": {
"AFSetIDs": [-1],
"AFSetNames": [""],
"BordersOpen": true,
"ClassOverrides": 0,
"DistanceUnits": 0,
"ElevLimit": 0,
"FerryDiscourage": false,
"FuelConsumption": 1.26,
"FuelRoute": false,
"FuelType": 0,
"GovernorSpeedLimit": 55,
"HighwayOnly": true,
"HoSOptions": {
"Enabled": false,
"RemainingDriveTimeUntilBreak": null,
"RemainingDriveTime": null,
"RemainingOnDutyTime": null,
"HoSRuleType": null,
"RemainingCycleDutyTime": null,
"CycleTimeGains": [],
"LastCycleResetDateTime": "",
"Last24HourBreakDateTime": "",
"RemainingCanadaOnDutyTime": null,
"RemainingDriveTimeUntilBreakDriver2": null,
"RemainingDriveTimeDriver2": null,
"RemainingOnDutyTimeDriver2": null,
"RemainingCycleDutyTimeDriver2": null,
"CycleTimeGainsDriver2": [],
"LastCycleResetDateTimeDriver2": "",
"Last24HourBreakDateTimeDriver2": "",
"RemainingCanadaOnDutyTimeDriver2": null,
"AlternateHoSRuleType": null,
"RemainingTimeUntilFullDayBreak": null,
"RemainingTimeUntilFullDayBreakDriver2": null,
"RemainingDrivingTimeInWeek": null,
"RemainingOnDutyTimeInDay": null,
"RemainingConsecutiveDrivingTime": null,
"RemainingFortnightlyTime": null,
"CurrentOffDutyTime": null,
"CurrentOffDutyTimeDriver2": null,
"UseCycleReset": true,
"TerminalDayStartTime": "",
"UseCustomPlaces": true,
"TeamDriving": true,
"CustomBreakDurations": {
"ShortBreakDuration": null,
"EndOfDutyBreakDuration": null,
"CycleResetBreakDuration": null,
"DriverSwitchBreakDuration": null,
"BorderCrossingWaitDuration": null
},
"Deprecated": 0,
"MaxAlternateRestStops": null,
"SkipRestStopInsertion": true,
"ActiveDriver": 1,
"MaxDrivingTimeInDay": null,
"MaxOnDutyTimeInDay": null,
"MaxOnDutyTimeInWeek": null,
"AdverseConditionException": false,
"POIStopsReturned": true,
"HOSWindowStart": null,
"HOSWindowEnd": null
},
"HubRouting": false,
"MaintainHeading": true,
"OverrideRestrict": false,
"profileName": "Heavy Rigid",
"Refrigerated": true,
"RouteOptimization": 0,
"RoutingType": 0,
"SideOfStreetAdherence": 0,
"TollDiscourage": true,
"TrailerCfg": {
"TypeOfTrailer": 1,
"Count": null,
"MaxHeight": "",
"MaxWeight": null,
"MaxAxles": null,
"Engine": {
"Hybrid": true,
"EmissionType": 8,
"MinPollutionVeh": true,
"CO2Class": 4
}
},
"TruckCfg": {
"Axles": 2,
"Height": "",
"LCV": false,
"Length": "",
"MaxWeightPerAxleGroup": 10000,
"TireCount": 8,
"Units": 0,
"Weight": "20000",
"Width": ""
},
"UseSites": true,
"VehicleProfile": 0,
"TrafficLookaheadDistance": 5,
"AvoidCountry": ["FR"],
"AvoidState": [""],
"FavorCountry": ["IT"],
"FavorState": [""],
"IncludeTrimblePlaceIDs": false,
"TollRoads": 2,
"HazMatTypes": [1, 2],
"TunnelCategories": [1, 2],
"useCrossStreetTurnAvoidance": true,
"RestrictionZones": {
"CongestionZone": 2,
"LowEmissionZone": 1,
"UltraLowEmissionZone": 2
}
},
"AssetId": "12345",
"ReportingOptions": {
"EstimatedTimeOptions": {
"ETAETD": 0,
"DateOption": 0,
"DateAndTime": {
"CalendarDate": "",
"DayOfWeek": 3,
"TimeOfDay": "07:00",
"TimeZone": 0
}
},
"IncludeVehicleRestrictedCleanupPoints": true,
"UseTraffic": true,
"ExchangeRate": 1.26,
"FuelUnits": 0,
"IncludeFerryDistance": true,
"IncludeRoadClass": true,
"Language": 0,
"TollCurrency": 0,
"TollDiscount": "",
"UseEUTollsReport": false,
"UseTollData": true
},
"ReportTypes": [{
"__type": "DirectionsReportType:http://pcmiler.alk.com/APIs/v1.0",
"CondenseDirections": false
},
{
"__type": "MileageReportType:http://pcmiler.alk.com/APIs/v1.0",
"TimeInSeconds": false
}
]
}]
}
Sample Response - Europe
[{
"__type": "DirectionsReport:http://pcmiler.alk.com/APIs/v1.0",
"Origin": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Rome",
"State": "IT",
"Zip": "00185",
"County": "Roma",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Lazio",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "41.903220",
"Lon": "12.495650"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Origin",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Origin"
},
"RouteID": "",
"Destination": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Bari",
"State": "IT",
"Zip": "70122",
"County": "Bari",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Puglia",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "41.125870",
"Lon": "16.866660"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Destination",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Dest"
},
"ReportLegs": [{
"Origin": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Rome",
"State": "IT",
"Zip": "00185",
"County": "Roma",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Lazio",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "41.903220",
"Lon": "12.495650"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Origin",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Origin"
},
"ReportLines": [{
"Warn": null,
"Direction": "Origin, 00185 Rome, IT",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90322",
"Lon": "12.49565"
},
"End": {
"Lat": "41.90322",
"Lon": "12.49565"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Go north on Via Vittorio Emanuele Orlando",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.903225",
"Lon": "12.495662"
},
"End": {
"Lat": "41.9033",
"Lon": "12.49557"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "0.007",
"Time": "0:00",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.903225",
"Lon": "12.495662"
},
"End": {
"Lat": "41.9033",
"Lon": "12.49557"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Via Pietro Barbieri",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.9033",
"Lon": "12.49557"
},
"End": {
"Lat": "41.90729",
"Lon": "12.50137"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.406 miles (~2 min)",
"Dist": "0.413",
"Time": "0:02",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.9033",
"Lon": "12.49557"
},
"End": {
"Lat": "41.90729",
"Lon": "12.50137"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn left on Via Palestro",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90729",
"Lon": "12.50137"
},
"End": {
"Lat": "41.90842",
"Lon": "12.5"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.105 miles (~ 1 block)",
"Dist": "0.518",
"Time": "0:02",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90729",
"Lon": "12.50137"
},
"End": {
"Lat": "41.90842",
"Lon": "12.5"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Via 20 Settembre",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90842",
"Lon": "12.5"
},
"End": {
"Lat": "41.91124",
"Lon": "12.50413"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.293 miles",
"Dist": "0.811",
"Time": "0:04",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90842",
"Lon": "12.5"
},
"End": {
"Lat": "41.91124",
"Lon": "12.50413"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on Via Nomentana as it bears right",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91124",
"Lon": "12.50413"
},
"End": {
"Lat": "41.91283",
"Lon": "12.50668"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.174 miles (~ 2 blocks)",
"Dist": "0.985",
"Time": "0:04",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91124",
"Lon": "12.50413"
},
"End": {
"Lat": "41.91283",
"Lon": "12.50668"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Viale Regina Margherita",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91283",
"Lon": "12.50668"
},
"End": {
"Lat": "41.91118",
"Lon": "12.50864"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.153 miles (~ 3 blocks)",
"Dist": "1.138",
"Time": "0:05",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91283",
"Lon": "12.50668"
},
"End": {
"Lat": "41.91118",
"Lon": "12.50864"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "At circle, take third exit on Viale Regina Margherita",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91118",
"Lon": "12.50864"
},
"End": {
"Lat": "41.91074",
"Lon": "12.50921"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": true
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "1.185",
"Time": "0:05",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91118",
"Lon": "12.50864"
},
"End": {
"Lat": "41.91074",
"Lon": "12.50921"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.745 miles (~2 min)",
"Dist": "1.930",
"Time": "0:07",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91074",
"Lon": "12.50921"
},
"End": {
"Lat": "41.90294",
"Lon": "12.51921"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Piazzale di San Lorenzo",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90294",
"Lon": "12.51921"
},
"End": {
"Lat": "41.90265",
"Lon": "12.51912"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "1.950",
"Time": "0:07",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90294",
"Lon": "12.51921"
},
"End": {
"Lat": "41.90265",
"Lon": "12.51912"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Keep right on Piazzale del Verano",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90265",
"Lon": "12.51912"
},
"End": {
"Lat": "41.90207",
"Lon": "12.51854"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles (~ 1 block)",
"Dist": "2.000",
"Time": "0:07",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90265",
"Lon": "12.51912"
},
"End": {
"Lat": "41.90207",
"Lon": "12.51854"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on Piazzale del Verano as it turns left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90207",
"Lon": "12.51854"
},
"End": {
"Lat": "41.90185",
"Lon": "12.51904"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "2.030",
"Time": "0:07",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90207",
"Lon": "12.51854"
},
"End": {
"Lat": "41.90185",
"Lon": "12.51904"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on Piazzale del Verano as it turns left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90185",
"Lon": "12.51904"
},
"End": {
"Lat": "41.90812",
"Lon": "12.53416"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.985 miles (~3 min)",
"Dist": "3.015",
"Time": "0:10",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90185",
"Lon": "12.51904"
},
"End": {
"Lat": "41.90812",
"Lon": "12.53416"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Via di Portonaccio",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90812",
"Lon": "12.53416"
},
"End": {
"Lat": "41.89854",
"Lon": "12.5384"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.710 miles (~4 min)",
"Dist": "3.725",
"Time": "0:14",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.90812",
"Lon": "12.53416"
},
"End": {
"Lat": "41.89854",
"Lon": "12.5384"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn left on Via Castelguidone",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.89854",
"Lon": "12.5384"
},
"End": {
"Lat": "41.89888",
"Lon": "12.53945"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "3.784",
"Time": "0:14",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.89854",
"Lon": "12.5384"
},
"End": {
"Lat": "41.89888",
"Lon": "12.53945"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Straight on ramp to A 24 East - Autostrada dei Parchi",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.89888",
"Lon": "12.53945"
},
"End": {
"Lat": "41.89945",
"Lon": "12.54091"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.085 miles on Ramp (~ 1 block)",
"Dist": "3.869",
"Time": "0:15",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.89888",
"Lon": "12.53945"
},
"End": {
"Lat": "41.89945",
"Lon": "12.54091"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 2.657 miles (~3 min)",
"Dist": "6.526",
"Time": "0:17",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.89945",
"Lon": "12.54091"
},
"End": {
"Lat": "41.91189",
"Lon": "12.58954"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on A 24 East - Autostrada dei Parchi as it bears right",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91189",
"Lon": "12.58954"
},
"End": {
"Lat": "41.91894",
"Lon": "12.60908"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 1.131 miles",
"Dist": "7.657",
"Time": "0:19",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91189",
"Lon": "12.58954"
},
"End": {
"Lat": "41.91894",
"Lon": "12.60908"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Prenestina Exit to E 80 South - Grande Raccordo Anulare",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91894",
"Lon": "12.60908"
},
"End": {
"Lat": "41.91915",
"Lon": "12.61021"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles on Civitavecchia Exit",
"Dist": "7.718",
"Time": "0:19",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91894",
"Lon": "12.60908"
},
"End": {
"Lat": "41.91915",
"Lon": "12.61021"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.253 miles on Napoli Exit (~ 3 blocks)",
"Dist": "7.971",
"Time": "0:20",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91915",
"Lon": "12.61021"
},
"End": {
"Lat": "41.91715",
"Lon": "12.61393"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 4.315 miles (~5 min)",
"Dist": "12.286",
"Time": "0:24",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.91715",
"Lon": "12.61393"
},
"End": {
"Lat": "41.85717",
"Lon": "12.598471"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Exit 19 (Napoli) to E 821 East",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.85717",
"Lon": "12.598471"
},
"End": {
"Lat": "41.85536",
"Lon": "12.59778"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.131 miles on Exit 19 (Napoli)",
"Dist": "12.417",
"Time": "0:25",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.85717",
"Lon": "12.598471"
},
"End": {
"Lat": "41.85536",
"Lon": "12.59778"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.454 miles on Napoli Exit (~ 4 blocks)",
"Dist": "12.871",
"Time": "0:26",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.85536",
"Lon": "12.59778"
},
"End": {
"Lat": "41.85175",
"Lon": "12.60118"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 12.018 miles (~14 min)",
"Dist": "24.889",
"Time": "0:40",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.85175",
"Lon": "12.60118"
},
"End": {
"Lat": "41.8039",
"Lon": "12.8182"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Merge left on E 45 East - Autostrada del Sole",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.8039",
"Lon": "12.8182"
},
"End": {
"Lat": "40.85217",
"Lon": "14.31714"
},
"TurnInstruction": "TC_MergeLeft",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 113.177 miles (~2 hr 10 min)",
"Dist": "138.066",
"Time": "2:49",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.8039",
"Lon": "12.8182"
},
"End": {
"Lat": "40.85217",
"Lon": "14.31714"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Napoli Centro Exit to A 3 West - Autostrada Napoli-Salerno",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.85217",
"Lon": "14.31714"
},
"End": {
"Lat": "40.84843",
"Lon": "14.31258"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.361 miles on Napoli Centro Exit",
"Dist": "138.427",
"Time": "2:50",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.85217",
"Lon": "14.31714"
},
"End": {
"Lat": "40.84843",
"Lon": "14.31258"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.851 miles (~ 8 blocks)",
"Dist": "139.278",
"Time": "2:51",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84843",
"Lon": "14.31258"
},
"End": {
"Lat": "40.84431",
"Lon": "14.29733"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Centro Exit and then merge left on Via Reggia di Portici",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84431",
"Lon": "14.29733"
},
"End": {
"Lat": "40.84169",
"Lon": "14.29006"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.428 miles on Centro Exit (~ 6 blocks)",
"Dist": "139.706",
"Time": "2:52",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84431",
"Lon": "14.29733"
},
"End": {
"Lat": "40.84169",
"Lon": "14.29006"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.725 miles (~2 min)",
"Dist": "140.431",
"Time": "2:54",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84169",
"Lon": "14.29006"
},
"End": {
"Lat": "40.84666",
"Lon": "14.27784"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "At circle, take second exit on Via Amerigo Vespucci",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84666",
"Lon": "14.27784"
},
"End": {
"Lat": "40.84674",
"Lon": "14.27755"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": true
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "140.451",
"Time": "2:54",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84666",
"Lon": "14.27784"
},
"End": {
"Lat": "40.84674",
"Lon": "14.27755"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 1.339 miles (~3 min)",
"Dist": "141.790",
"Time": "2:57",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84674",
"Lon": "14.27755"
},
"End": {
"Lat": "40.84099",
"Lon": "14.25417"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn left on Via Agostino Depretis",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84099",
"Lon": "14.25417"
},
"End": {
"Lat": "40.83977",
"Lon": "14.25357"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.090 miles",
"Dist": "141.880",
"Time": "2:57",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84099",
"Lon": "14.25417"
},
"End": {
"Lat": "40.83977",
"Lon": "14.25357"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Piazza Municipio",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.83977",
"Lon": "14.25357"
},
"End": {
"Lat": "40.84014",
"Lon": "14.25226"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.073 miles",
"Dist": "141.953",
"Time": "2:58",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.83977",
"Lon": "14.25357"
},
"End": {
"Lat": "40.84014",
"Lon": "14.25226"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}],
"Dest": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Naples",
"State": "IT",
"Zip": "80133",
"County": "Napoli",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Campania",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "40.840140",
"Lon": "14.252260"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Stop 2",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Stop 1"
}
}, {
"Origin": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Naples",
"State": "IT",
"Zip": "80133",
"County": "Napoli",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Campania",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "40.840140",
"Lon": "14.252260"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Stop 2",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Stop 1"
},
"ReportLines": [{
"Warn": null,
"Direction": "Stop 2, 80133 Naples, IT (0:00)",
"Dist": "141.953",
"Time": "2:58",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84014",
"Lon": "14.25226"
},
"End": {
"Lat": "40.84014",
"Lon": "14.25226"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Go east on Piazza Municipio",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.840145",
"Lon": "14.25226"
},
"End": {
"Lat": "40.83928",
"Lon": "14.25426"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.123 miles",
"Dist": "142.076",
"Time": "2:58",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.840145",
"Lon": "14.25226"
},
"End": {
"Lat": "40.83928",
"Lon": "14.25426"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on Piazza Municipio as it bears left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.83928",
"Lon": "14.25426"
},
"End": {
"Lat": "40.84658",
"Lon": "14.27748"
},
"TurnInstruction": "TC_BearLeft",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 1.433 miles (~3 min)",
"Dist": "143.509",
"Time": "3:01",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.83928",
"Lon": "14.25426"
},
"End": {
"Lat": "40.84658",
"Lon": "14.27748"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "At circle, take third exit on Via Alessandro Volta",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84658",
"Lon": "14.27748"
},
"End": {
"Lat": "40.8465",
"Lon": "14.27774"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": true
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "143.525",
"Time": "3:01",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84658",
"Lon": "14.27748"
},
"End": {
"Lat": "40.8465",
"Lon": "14.27774"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.558 miles",
"Dist": "144.083",
"Time": "3:02",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.8465",
"Lon": "14.27774"
},
"End": {
"Lat": "40.84257",
"Lon": "14.28706"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Straight on Autostrade Exit to A 3 East - Autostrada Napoli-Salerno",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84257",
"Lon": "14.28706"
},
"End": {
"Lat": "40.84414",
"Lon": "14.29723"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.597 miles on Autostrade Exit (~2 min)",
"Dist": "144.680",
"Time": "3:04",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84257",
"Lon": "14.28706"
},
"End": {
"Lat": "40.84414",
"Lon": "14.29723"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.672 miles",
"Dist": "145.352",
"Time": "3:05",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84414",
"Lon": "14.29723"
},
"End": {
"Lat": "40.84761",
"Lon": "14.30917"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on A 3 East - Autostrada Napoli-Salerno as it bears left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84761",
"Lon": "14.30917"
},
"End": {
"Lat": "40.69615",
"Lon": "14.78284"
},
"TurnInstruction": "TC_BearLeft",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 31.593 miles (~44 min)",
"Dist": "176.945",
"Time": "3:48",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.84761",
"Lon": "14.30917"
},
"End": {
"Lat": "40.69615",
"Lon": "14.78284"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Proceed ahead as name changes to E 45 East - Autostrada del Mediterraneo",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.69615",
"Lon": "14.78284"
},
"End": {
"Lat": "40.61008",
"Lon": "15.28888"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 30.557 miles (~33 min)",
"Dist": "207.502",
"Time": "4:22",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.69615",
"Lon": "14.78284"
},
"End": {
"Lat": "40.61008",
"Lon": "15.28888"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Potenza Exit to E 847 East - Raccordo Autostradale Scalo Sicignano-Potenza",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.61008",
"Lon": "15.28888"
},
"End": {
"Lat": "40.61084",
"Lon": "15.29469"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.439 miles on Potenza Exit",
"Dist": "207.941",
"Time": "4:23",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.61008",
"Lon": "15.28888"
},
"End": {
"Lat": "40.61084",
"Lon": "15.29469"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 74.010 miles (~1 hr 25 min)",
"Dist": "281.951",
"Time": "5:50",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.61084",
"Lon": "15.29469"
},
"End": {
"Lat": "40.50728",
"Lon": "16.48039"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Matera Exit to SS7 Raccordo North",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.50728",
"Lon": "16.48039"
},
"End": {
"Lat": "40.50847",
"Lon": "16.48263"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.232 miles on Matera Exit (~ 4 blocks)",
"Dist": "282.183",
"Time": "5:50",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.50728",
"Lon": "16.48039"
},
"End": {
"Lat": "40.50847",
"Lon": "16.48263"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 17.349 miles (~27 min)",
"Dist": "299.532",
"Time": "6:18",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.50847",
"Lon": "16.48263"
},
"End": {
"Lat": "40.68637",
"Lon": "16.59017"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Proceed ahead as name changes to SS99 North",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.68637",
"Lon": "16.59017"
},
"End": {
"Lat": "40.81509",
"Lon": "16.5633"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 9.449 miles (~14 min)",
"Dist": "308.981",
"Time": "6:32",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.68637",
"Lon": "16.59017"
},
"End": {
"Lat": "40.81509",
"Lon": "16.5633"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Proceed ahead as name changes to SS96 North",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.81509",
"Lon": "16.5633"
},
"End": {
"Lat": "40.94643",
"Lon": "16.64184"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 10.294 miles (~15 min)",
"Dist": "319.275",
"Time": "6:47",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.81509",
"Lon": "16.5633"
},
"End": {
"Lat": "40.94643",
"Lon": "16.64184"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on SS96 North as it bears left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.94643",
"Lon": "16.64184"
},
"End": {
"Lat": "41.0847",
"Lon": "16.77232"
},
"TurnInstruction": "TC_BearLeft",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 12.368 miles (~19 min)",
"Dist": "331.643",
"Time": "7:07",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "40.94643",
"Lon": "16.64184"
},
"End": {
"Lat": "41.0847",
"Lon": "16.77232"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Modugno Exit to SS96 East",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.0847",
"Lon": "16.77232"
},
"End": {
"Lat": "41.08691",
"Lon": "16.77599"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.247 miles on Modugno Exit (~ 2 blocks)",
"Dist": "331.890",
"Time": "7:07",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.0847",
"Lon": "16.77232"
},
"End": {
"Lat": "41.08691",
"Lon": "16.77599"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 2.435 miles (~5 min)",
"Dist": "334.325",
"Time": "7:12",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.08691",
"Lon": "16.77599"
},
"End": {
"Lat": "41.10433",
"Lon": "16.81582"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Stay on SS96 East as it bears left",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.10433",
"Lon": "16.81582"
},
"End": {
"Lat": "41.10657",
"Lon": "16.82042"
},
"TurnInstruction": "TC_BearLeft",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.287 miles (~ 3 blocks)",
"Dist": "334.612",
"Time": "7:12",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.10433",
"Lon": "16.81582"
},
"End": {
"Lat": "41.10657",
"Lon": "16.82042"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Foggia Exit and then merge left on SS16 North",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.10657",
"Lon": "16.82042"
},
"End": {
"Lat": "41.10606",
"Lon": "16.82031"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.135 miles on Foggia Exit (~ 3 blocks)",
"Dist": "334.747",
"Time": "7:13",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.10657",
"Lon": "16.82042"
},
"End": {
"Lat": "41.10606",
"Lon": "16.82031"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 2.056 miles (~3 min)",
"Dist": "336.803",
"Time": "7:16",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.10606",
"Lon": "16.82031"
},
"End": {
"Lat": "41.13416",
"Lon": "16.81513"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Take Exit 4 (Bari Centro-Via Napoli) and then merge left on Via Napoli",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13416",
"Lon": "16.81513"
},
"End": {
"Lat": "41.13426",
"Lon": "16.81792"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.197 miles on Exit 4 (Bari Centro-Via Napoli)",
"Dist": "337.000",
"Time": "7:16",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13416",
"Lon": "16.81513"
},
"End": {
"Lat": "41.13426",
"Lon": "16.81792"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 1.120 miles (~3 min)",
"Dist": "338.120",
"Time": "7:19",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13426",
"Lon": "16.81792"
},
"End": {
"Lat": "41.12819",
"Lon": "16.8379"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn left on Via di Maratona",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.12819",
"Lon": "16.8379"
},
"End": {
"Lat": "41.13069",
"Lon": "16.83801"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.173 miles (~ 1 block)",
"Dist": "338.293",
"Time": "7:19",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.12819",
"Lon": "16.8379"
},
"End": {
"Lat": "41.13069",
"Lon": "16.83801"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Via Francesco Martino",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13069",
"Lon": "16.83801"
},
"End": {
"Lat": "41.13187",
"Lon": "16.86727"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 1.966 miles (~4 min)",
"Dist": "340.259",
"Time": "7:23",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13069",
"Lon": "16.83801"
},
"End": {
"Lat": "41.13187",
"Lon": "16.86727"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "At circle, take second exit on Banchina Dogana",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13187",
"Lon": "16.86727"
},
"End": {
"Lat": "41.13197",
"Lon": "16.86735"
},
"TurnInstruction": "TC_Straight",
"DriveSide": "Right",
"IsRoundabout": true
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "340.271",
"Time": "7:23",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13187",
"Lon": "16.86727"
},
"End": {
"Lat": "41.13197",
"Lon": "16.86735"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.095 miles (~ 2 blocks)",
"Dist": "340.366",
"Time": "7:24",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13197",
"Lon": "16.86735"
},
"End": {
"Lat": "41.13299",
"Lon": "16.8686"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13299",
"Lon": "16.8686"
},
"End": {
"Lat": "41.13296",
"Lon": "16.86887"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "340.380",
"Time": "7:24",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13299",
"Lon": "16.8686"
},
"End": {
"Lat": "41.13296",
"Lon": "16.86887"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Keep right on Varco Dogana",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13296",
"Lon": "16.86887"
},
"End": {
"Lat": "41.13271",
"Lon": "16.8692"
},
"TurnInstruction": "TC_BearRight",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "340.405",
"Time": "7:24",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13296",
"Lon": "16.86887"
},
"End": {
"Lat": "41.13271",
"Lon": "16.8692"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn right on Corso Antonio De Tullio",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13271",
"Lon": "16.8692"
},
"End": {
"Lat": "41.12879",
"Lon": "16.86483"
},
"TurnInstruction": "TC_Right",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.393 miles (~ 6 blocks)",
"Dist": "340.798",
"Time": "7:25",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.13271",
"Lon": "16.8692"
},
"End": {
"Lat": "41.12879",
"Lon": "16.86483"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn left on Piazza Giuseppe Massari",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.12879",
"Lon": "16.86483"
},
"End": {
"Lat": "41.12586",
"Lon": "16.86641"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive 0.221 miles (~ 3 blocks)",
"Dist": "341.019",
"Time": "7:26",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.12879",
"Lon": "16.86483"
},
"End": {
"Lat": "41.12586",
"Lon": "16.86641"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Turn left on Corso Vittorio Emanuele II",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.12586",
"Lon": "16.86641"
},
"End": {
"Lat": "41.12587",
"Lon": "16.86666"
},
"TurnInstruction": "TC_Left",
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Drive less than 0.1 miles",
"Dist": "341.032",
"Time": "7:26",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.12586",
"Lon": "16.86641"
},
"End": {
"Lat": "41.12587",
"Lon": "16.86666"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "Destination, 70122 Bari, IT (0:00)",
"Dist": "341.032",
"Time": "7:26",
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "41.12587",
"Lon": "16.86666"
},
"End": {
"Lat": "41.12587",
"Lon": "16.86666"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": " 1986-2020 Trimble Inc.",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "0",
"Lon": "0"
},
"End": {
"Lat": "0",
"Lon": "0"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "All drive times are approximate. ",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "0",
"Lon": "0"
},
"End": {
"Lat": "0",
"Lon": "0"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "('~5 mins' indicates you should be on this segment for 'about 5 minutes'. )",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "0",
"Lon": "0"
},
"End": {
"Lat": "0",
"Lon": "0"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "This suggested route is based on various data sources and may be incomplete or",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "0",
"Lon": "0"
},
"End": {
"Lat": "0",
"Lon": "0"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "inaccurate in some cases. The user assumes full liability for any delay, loss",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "0",
"Lon": "0"
},
"End": {
"Lat": "0",
"Lon": "0"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}, {
"Warn": null,
"Direction": "or damage which may occur as a result of its use. Please obey local traffic laws.",
"Dist": null,
"Time": null,
"InterCh": null,
"Delay": null,
"Begin": {
"Lat": "0",
"Lon": "0"
},
"End": {
"Lat": "0",
"Lon": "0"
},
"TurnInstruction": null,
"DriveSide": "Right",
"IsRoundabout": false
}],
"Dest": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Bari",
"State": "IT",
"Zip": "70122",
"County": "Bari",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Puglia",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "41.125870",
"Lon": "16.866660"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Destination",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Dest"
}
}],
"AssetId": "12345"
}, {
"__type": "MileageReport:http://pcmiler.alk.com/APIs/v1.0",
"ReportLines": [{
"Stop": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Rome",
"State": "IT",
"Zip": "00185",
"County": "Roma",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Lazio",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "41.903220",
"Lon": "12.495650"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Origin",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Origin"
},
"LMiles": "0.000",
"TMiles": "0.000",
"LCostMile": "0.00",
"TCostMile": "0.00",
"LHours": "0:00",
"THours": "0:00",
"LTolls": "0.00",
"TTolls": "0.00",
"LEstghg": "0.0",
"TEstghg": "0.0",
"EtaEtd": "10/5/2021 05:24"
}, {
"Stop": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Naples",
"State": "IT",
"Zip": "80133",
"County": "Napoli",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Campania",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "40.840140",
"Lon": "14.252260"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Stop 2",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Stop 1"
},
"LMiles": "141.953",
"TMiles": "141.953",
"LCostMile": "226.69",
"TCostMile": "226.69",
"LHours": "2:57",
"THours": "2:58",
"LTolls": "0.00",
"TTolls": "0.00",
"LEstghg": "7.0",
"TEstghg": "7.0",
"EtaEtd": "10/5/2021 08:22"
}, {
"Stop": {
"TimeZone": "+2:00",
"Address": {
"StreetAddress": "",
"City": "Bari",
"State": "IT",
"Zip": "70122",
"County": "Bari",
"Country": "Italy",
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0,
"StateName": "Puglia",
"StateAbbreviation": "",
"CountryAbbreviation": "IT"
},
"Errors": [],
"Coords": {
"Lat": "41.125870",
"Lon": "16.866660"
},
"SpeedLimitInfo": null,
"Region": 3,
"ConfidenceLevel": "Exact",
"Label": "Destination",
"DistanceFromRoad": null,
"PlaceName": "",
"CrossStreet": null,
"ID": "Dest"
},
"LMiles": "199.079",
"TMiles": "341.032",
"LCostMile": "332.03",
"TCostMile": "558.72",
"LHours": "4:29",
"THours": "7:26",
"LTolls": "0.00",
"TTolls": "0.00",
"LEstghg": "9.8",
"TEstghg": "16.7",
"EtaEtd": "10/5/2021 12:50"
}],
"RouteID": "",
"TrafficDataUsed": true,
"AssetId": "12345"
}]
Sample Batch Request with Multiple Routes
Up to 20 routes can be sent in a single request.
{
"ReportRoutes": [
{
"ReportTypes": [
{
"__type": "MileageReportType:http://pcmiler.alk.com/APIs/v1.0",
"TimeInSeconds": false
}
],
"RouteId": null,
"Stops": [
{
"Address": {
"StreetAddress": "457 N Harrison St",
"City": "Princeton",
"State": "NJ",
"Zip": "08540",
"County": null,
"Country": null,
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0
},
"Coords": null,
"Region": 4,
"Label": "Princeton address",
"PlaceName": null
},
{
"Address": null,
"Coords": {
"Lat": "42.123120",
"Lon": "-76.123120"
},
"Region": 4,
"Label": "first stop",
"PlaceName": null
},
{
"Address": null,
"Coords": {
"Lat": "42.124560",
"Lon": "-76.124560"
},
"Region": 4,
"Label": null,
"PlaceName": null
}
],
"Options": {
"TollDiscourage": true,
"profileName": "Heavy Duty Doubles",
"HubRouting": false,
"AFSetIDs": null,
"ElevLimit": null,
"FerryDiscourage": false
}
},
{
"ReportTypes": [
{
"__type": "MileageReportType:http://pcmiler.alk.com/APIs/v1.0",
"TimeInSeconds": false
}
],
"RouteId": null,
"Stops": [
{
"Address": {
"StreetAddress": "1 Independence Way",
"City": "Princeton",
"State": "NJ",
"Zip": "08540",
"County": null,
"Country": null,
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0
},
"Coords": null,
"Region": 4,
"Label": "Princeton address",
"PlaceName": null
},
{
"Address": null,
"Coords": {
"Lat": "43.123120",
"Lon": "-75.123120"
},
"Region": 4,
"Label": "first stop",
"PlaceName": null
},
{
"Address": null,
"Coords": {
"Lat": "43.124560",
"Lon": "-75.124560"
},
"Region": 4,
"Label": null,
"PlaceName": null
}
],
"Options": {
"TollDiscourage": true,
"profileName": "Heavy Duty Doubles",
"HubRouting": false,
"AFSetIDs": null,
"ElevLimit": null,
"FerryDiscourage": false
}
},
{
"ReportTypes": [
{
"__type": "MileageReportType:http://pcmiler.alk.com/APIs/v1.0",
"TimeInSeconds": false
}
],
"RouteId": null,
"Stops": [
{
"Address": {
"StreetAddress": "College Ave",
"City": "Princeton",
"State": "NJ",
"Zip": "08540",
"County": null,
"Country": null,
"SPLC": null,
"CountryPostalFilter": 0,
"AbbreviationFormat": 0
},
"Coords": null,
"Region": 4,
"Label": "Princeton address",
"PlaceName": null
},
{
"Address": null,
"Coords": {
"Lat": "41.123120",
"Lon": "-77.123120"
},
"Region": 4,
"Label": "first stop",
"PlaceName": null
},
{
"Address": null,
"Coords": {
"Lat": "41.124560",
"Lon": "-77.124560"
},
"Region": 4,
"Label": null,
"PlaceName": null
}
],
"Options": {
"TollDiscourage": true,
"profileName": "Heavy Duty Doubles",
"HubRouting": false,
"AFSetIDs": null,
"ElevLimit": null,
"FerryDiscourage": false
}
}
]
}