Which API call can be used to pull Device Installation History?

Related Questions

  • Which API call can be used to pull Device Installation History using the MyGeotab SDK?

Applies To

  • MyGeotab SDK
  • Device History

Answer

The GetDeviceHistory API call can be used to obtain device installation history. It is shown in the example below:

api.call("GetDeviceHistory", {
    "device":{
        "id":"<device id goes here>"
    }
}, function(result) {
    console.log("Done: ", result);
}, function(e) {
    console.error("Failed:", e);
});

Additional Notes

This call is not documented on the MyGeotab SDK Reference Page thus not supported and can change at any time.

Please note that results may also take a while to load as this is a pseudo MyAdmin SDK call. That is the reason it may take a while to load. The MyAdmin SDK call that retrieves the same information is GetInstallLogs().