How To Get a Driver's Duty Status Logs Using the SDK

Applies To

  • SDK
  • HOS
  • API Call


  1. Go to the MyGeotab SDK Runner: 
  2. Enter the server, database and your credentials to log in
  3. Enter the following API call and Click Run"Get", {
"typeName": "DutyStatusLog",
"search": {
"UserSearch": {"id":"b1"}, 
}, function(result) {
console.log("Done: ", result);
}, function(e) {
console.error("Failed:", e);


Additional Information

Note: The timestamp in fromDate and toDate are in UTC

The User ID can be found from the URL of the User Edit page, MyGeotab > Administraion > Users >,id:b1