Dashboard
Fuel Tracking Overview
Get monthly fuel consumption and distance travelled for a given date range.
GET/api/v1/workspace/dashboard/fuel-trackings-overview
Query Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
fromTime | Required | long | Start of date range (Unix ms) |
toTime | Required | long | End of date range (Unix ms) |
Example
Request
curl -X GET \
"https://live.fleetwork.vn/api/v1/workspace/dashboard/fuel-trackings-overview?fromTime=1711900800000&toTime=1714492800000" \
-H "API-KEY: <your-key>"Response
{
"code": "OK",
"message": null,
"data": {
"year": 2026,
"months": [
{
"year": 2026,
"month": 4,
"totalUsage": 385.5,
"totalDistance": 4210.2
},
{
"year": 2026,
"month": 3,
"totalUsage": 312.0,
"totalDistance": 3890.8
}
]
}
}