getRoutesForDashboard

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)

pageSize

Number of routes per page

fromDate

Start date in ISO format (YYYY-MM-DD)

toDate

End date in ISO format (YYYY-MM-DD)

sendPolyline

Optional flag to include polyline data (default: false for performance)