Retrieve fuel consumed sensor data for multiple vehicles
POST/fuel/consumed
This endpoint allows you to retrieve vehicle fuel consumption for a give period. The vehicles must have the fuel consumed sensor (sensor type id 20) and Cartrack telematic device must be connected to the CAN bus. It returns the value in litres (coefficient applied). Reported events for up to 100 vehicles per request within your fleet, at the start and at the end of a given period with a maximum time range of 31 days.
Note: This endpoint is subject to a rate limit, allowing a maximum of 10 request per minute.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- 503
Successful operation
The request body is declared as JSON but cannot be parsed, or is not a JSON object or array. Nothing was processed.
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
The requested resource was not found.
Validation failed for the input parameters.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.