Request Details
Unless I am missing something, i do not see current_meter_value being pulled. did you have an alternate way of pulling the current meter into PowerBI? I reached out to fleetio about this thinking that it was possibly not a value in the v1/vehicles, this is what they said,
"Thanks for writing in and providing the information.
A Vehicle record has "current_meter_value" which is the value of the last valid Meter Entry.
You can also pull historical data of a vehicle's mileage from the Meter Entries API. You can filter by "vehicle_id" and "date" to retrieve a range of meter values, e.g. https://secure.fleetio.com/api/v1/meter_entries?filter[vehicle_id][eq]=123&filter[date][gte]=2024-10-01&filter[date][lte]=2024-10-31
https://developer.fleetio.com/docs/api/v-1-meter-entries-index
All the best,
Bill McKinnon
Fleetio | API Support Engineer"
Version
1
Is this an issue related to a forked contribution?
no
Request Details
Unless I am missing something, i do not see current_meter_value being pulled. did you have an alternate way of pulling the current meter into PowerBI? I reached out to fleetio about this thinking that it was possibly not a value in the v1/vehicles, this is what they said,
"Thanks for writing in and providing the information.
A Vehicle record has "current_meter_value" which is the value of the last valid Meter Entry.
You can also pull historical data of a vehicle's mileage from the Meter Entries API. You can filter by "vehicle_id" and "date" to retrieve a range of meter values, e.g. https://secure.fleetio.com/api/v1/meter_entries?filter[vehicle_id][eq]=123&filter[date][gte]=2024-10-01&filter[date][lte]=2024-10-31
https://developer.fleetio.com/docs/api/v-1-meter-entries-index
All the best,
Bill McKinnon
Fleetio | API Support Engineer"
Version
1
Is this an issue related to a forked contribution?
no