Route Matrix
The routeMatrix sub resource allows a user to get the distance and time for a matrix of origins and destinations. It will not provide any detailed information about the route.
The limit of origins and destinations is 10 * 10.
Route Matrix Request
Route Matrix Response
Data Element |
Description |
Data Type |
Value/Example |
Origins |
A collection of Geocoded origins. |
List of GeocodeOutputLocation Object |
|
Destinations |
A collection of Geocoded destination. |
List of GeocodeOutputLocation Object |
|
MatrixInfo |
A series of geographic coordinate points that make up a route. |
List of List of RouteMatrixInfo Object |
|
RouteMatrixInfo
Data Element |
Description |
Data Type |
Value/Example |
Success |
Indicate if route is success or not. |
Boolean |
|
Errors |
Route errors |
List of Errors Object |
|
Time |
Route time |
String |
|
Distance |
Route distance |
String |
|
Errors
Data Element |
Description |
Data Type |
Value/Example |
Type |
Indicates whether the error is an exception or warning |
Enum |
Warning
Exception
|
Code |
Error code |
Enum |
|
LegacyErrorCode |
The legacy error code with is an integer valued code that would have been returned in PCMiler Web Services v25 and earlier. |
int |
|
Description |
The detailed error description. |
String |
|