Topic: JS API: Get Unit's last ignition-off time
Hello Developers,
I really need your help to determine the last time a Unit's ignition was off.
I thought I could fetch its ignition history by running gthe line of code below an iterate through the results to get it
var igH = u.getIgnitionHistory(1, 1527973200, 1530565200);
However, Am getting undefined for all the 400+ units I have.
I am looking forward to your feedback.