v15
latestOpenAPI 3.1.02026-07-1295183803.5 KBRouting
Create Asynchronous Distance Matrix
Create a massive distance matrix task
post/mdm/create
Query parameters
keystring 32 character alphanumeric string required
Example:key=API_KEY
A key is a unique identifier that is required to authenticate a request to the API.
option'flexible' required
Example:option=flexible
Use this option to switch to truck-specific routing or time based routing or if you want to choose between the fastest and shortest route types.
spliter'od_number_spliter' | 'straight_distance_spliter' | 'location_spliter'
Specify a spliter to split the matrix by. It accepts 2 values:
-
od_number_spliter:
-
straight_distance_spliter:
Please note it is an internal, debug field only.
debug field. choose specific spliter to split matrix.
Request body
Example request
{
"avoid": "\"avoid\"=\"highway|toll\"",
"route_type": "\"route_type\"=\"fastest\"",
"truck_size": "\"truck_size\"=200,210,600",
"origins_approach": "\"originis_approach\"=\"unrestricted\"",
"destinations_approach": "\"destinations_approach\"=\"unrestricted\"",
"hazmat_type": "\"hazmat_type\"=\"explosive | harmful_to_water\""
}