get Routes For Dashboard
suspend fun getRoutesForDashboard(page: Int, pageSize: Int, fromDate: String, toDate: String, sendPolyline: Boolean): GetDashboardRoutesResult
Get dashboard routes with intelligent cache-first strategy for single-date queries.
Return
GetDashboardRoutesResult with routes and isPartialData flag indicating cache vs API
Parameters
page
Page number for pagination (1-based)
page Size
Number of routes per page
from Date
Start date in ISO format (YYYY-MM-DD)
to Date
End date in ISO format (YYYY-MM-DD)
send Polyline
Optional flag to include polyline data (default: false for performance)