What function allow me to get fuel level data on a vehicle?
Do you have an example?
Redigeret af Genevieve-1051
What function allow me to get fuel level data on a vehicle?
Do you have an example?
Du skal være logget ind for at svare på dette indlæg og deltage i Geotab Community-diskussionerne.
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