getRouteDetail

suspend fun getRouteDetail(routeUid: String, sendPolyline: Boolean? = null): GetRouteDetailResult

Get detailed information for a specific route by its UID.

This method implements an offline-first approach:

  1. Returns cached route data immediately if available

  2. Background sync will update the data automatically via delta sync

Return

GetRouteDetailResult containing route details, or error

Parameters

routeUid

The unique identifier of the route

sendPolyline

Optional flag to include polyline data in API response