What function allow me to get fuel level data on a vehicle?
Do you have an example?
Edited by Genevieve-1051
What function allow me to get fuel level data on a vehicle?
Do you have an example?
You need to be logged in to reply to this post and participate in the Geotab Community discussions.
Hi @Carrillo-1073 !
Depending on what you are looking for, you can get Fuel Level (Volume) in Liters:
api.call("Get", {
"typeName": "StatusData",
"search": {
"fromDate": "2020-11-04T23:00:00.000Z",
"toDate": "2020-11-05T22:59:59.000Z",
"diagnosticSearch": {"id": "DiagnosticFuelUnitsId"},
"deviceSearch": {"id": "b19D"}
}
});
Or Fuel Level (Percentage):
api.call("Get", {
"typeName": "StatusData",
"search": {
"fromDate": "2020-11-04T23:00:00.000Z",
"toDate": "2020-11-05T22:59:59.000Z",
"diagnosticSearch": {"id": "DiagnosticFuelLevelId"},
"deviceSearch": {"id": "b19D"}
}
});
Hope that helps!
Best,
Ron
Hi @Carrillo-1073 !
Depending on what you are looking for, you can get Fuel Level (Volume) in Liters:
api.call("Get", {
"typeName": "StatusData",
"search": {
"fromDate": "2020-11-04T23:00:00.000Z",
"toDate": "2020-11-05T22:59:59.000Z",
"diagnosticSearch": {"id": "DiagnosticFuelUnitsId"},
"deviceSearch": {"id": "b19D"}
}
});
Or Fuel Level (Percentage):
api.call("Get", {
"typeName": "StatusData",
"search": {
"fromDate": "2020-11-04T23:00:00.000Z",
"toDate": "2020-11-05T22:59:59.000Z",
"diagnosticSearch": {"id": "DiagnosticFuelLevelId"},
"deviceSearch": {"id": "b19D"}
}
});
Hope that helps!
Best,
Ron