Import HOS Logs Example
Skill level:

This example demonstrates a tool that can be built with an intermediate-level knowledge of the MyGeotab system. It is suitable for those who have a good understanding of the Geotab ecosystem and are comfortable with the MyGeotab SDK and leveraging the MyGeotab APIs within their projects.

This utility helps you import import HOS logs to your account using comma separated values (CSV). The input provided is parsed and if a HOS Log does not exist in the cache, it will be added and then saved to your account.
In this example
API Methods:Add
API Entities:Duty Status Log

Use the text box below to import multiple HOS logs at a time. Place each device on its own line as follows:

{"dateTime":"2014-12-09T22:47:10.969Z","verifyDateTime":"2014-12-09T23:25:07.078Z","driver":{"id":"b41B4DC3B"},"id":"aHic5TSUoXEqVQagnbQmtpg","device":{"id":"b142"},"version":"000229ddc4f469b8","status":"ON"}
{"dateTime":"2014-12-10T15:13:22.646Z","verifyDateTime":"2014-12-10T23:35:26.300Z","driver":{"id":"b41B4DC3B"},"id":"aqwQdey20FEOPM9guvRs86Q","device":{"id":"b122"},"version":"00022c4707312d6f","status":"D"}