Post table
Request a distance matrix with the asynchronous /table
endpoint.
In the result you can find the table response id to fetch in /table/{response_id}
.
For very large matrices (eg 2000x2000
and more), the /table/{request_id}/progress
endpoint can provide more information.
Body
Table Dto
The coordinates this request will use, coordinates as [{lon},{lat}] values, in decimal degrees.
An array of index elements (0 <= integer < #coordinates) to use location with given index as destination. Default is to use all.
An array of index elements (0 <= integer < #coordinates) to use location with given index as source. Default is to use all.
Return the requested table or tables in response. Can be ['duration'] (return the duration matrix, default) or ['duration', distance'] (return both the duration matrix and the distance matrix).
The departure time for which you want to calculate the route. This will take into account predictive travel time based on TomTom data.
Routing data engine being used: OpenStreetMap (OSM) or TomTom.
OSM
, TOMTOM
The vehicle type for which the table is requested
CAR
, BIKE
, TRUCK
, ELECTRIC_CAR
, ELECTRIC_BIKE