Skip to Content

Compatibility routes — fleet

These routes forward to existing application handlers. They are listed for compatibility and troubleshooting, not as a promise of uniform M2M authentication, scopes or response schemas. The forwarded handler can require an interactive session, tenant permissions, a licensed module or a provider configuration. Use the explicit public M2M contract where available. Inspect the result body and the resulting record: some legacy adapters can return metadata with HTTP 200 after a forwarding failure.

Authentication and permissions · Requests, results and recovery

/api/v1/fleet/fuel

Exported methods: GET, POST

Forwarded handler methods: GET, POST

Additional permissions: log:fuel, view:fleet

Query parameters: dateFrom, dateTo, limit, page, vehicleId

/api/v1/fleet/maintenance

Exported methods: GET, POST

Forwarded handler methods: GET, POST

Additional permissions: manage:fleet_maintenance

Query parameters: limit, page, search, status, type, vehicleId

/api/v1/fleet/maintenance/{id}

Exported methods: GET, PATCH, DELETE

Forwarded handler methods: GET, PATCH, DELETE

Additional permissions: manage:fleet_maintenance

/api/v1/fleet/risk

Exported methods: GET

Forwarded handler methods: GET

Additional permissions: view:fleet_reports

Query parameters: days

/api/v1/fleet/stats

Exported methods: GET

Forwarded handler methods: GET

Additional permissions: view:fleet

/api/v1/fleet/stats/expenses

Exported methods: GET

Forwarded handler methods: GET

Additional permissions: view:fleet_reports

Query parameters: months

/api/v1/fleet/stats/top-fuel-cost

Exported methods: GET

Forwarded handler methods: GET

Additional permissions: view:fleet

/api/v1/fleet/trips

Exported methods: GET, POST

Forwarded handler methods: GET, POST

Additional permissions: log:trips, view:fleet

Query parameters: dateFrom, dateTo, driverName, limit, page, vehicleId

/api/v1/fleet/trips-map

Exported methods: GET

Forwarded handler methods: GET

Additional permissions: view:fleet

Query parameters: days, incidents, vehicleId

/api/v1/fleet/vehicles

Exported methods: GET, POST

Forwarded handler methods: GET, POST

Additional permissions: create:vehicles, view:fleet

Query parameters: fuelType, limit, page, search, status, type