How to View IFTA Report Details through the SDK

Applies To

  • MyGeotab
  • SDK

Procedure

  1. Navigate to the API runner https://geotab.github.io/sdk/software/api/runner.html
  2. Login to the corresponding server
  3. Run the following API call to view the IFTA Report Details for a Vehicle
    • api.call("Get", {
      "typeName": "FuelTaxDetail",
      "search": {
      "DeviceSearch": {"id":"b2"},
      "fromDate":"2019-01-01T00:00:00.000Z",
      "toDate":"2019-03-28T00:00:00.000Z",
      includeBoundaries: false,
      includeHourlyData: false
      }
      }, function(result) {
      console.log("Done: ", result);
      }, function(e) {
      console.error("Failed:", e);
      });

Additional Notes

  • Modify the fromDate, toDate and the Device ID accordingly
  • The timestamp in fromDate and toDate are in UTC