Preview Routing
Routing
Preview Routing
Previews routing.
GET
Preview Routing
Query Parameters
Comma-separated point UUIDs in order
Example:
"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a,0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3b"
Vehicle type
Available options:
VAN Example:
"VAN"
Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.
Response
OK
Route preview
Vehicle type
Available options:
VAN Example:
"VAN"
Route preview status
Available options:
COMPLETE, PARTIAL, UNROUTABLE Example:
"PARTIAL"
Distance in meters
Example:
12500
Duration in seconds
Example:
1800
Route preview segments
Route preview segment
- Option 1
- Option 2
Hydrated points in input order
Encoded polyline
Example:
"a~l~Fjk~uOwHJy@P"