Unit Summary

Will provide a brief summary of unit activity, start/stop location, date and time etc. This summary may be requested for a single unit, or all units present on the account.

URL Structure is:
https://api.trackunit.com/public/Report/UnitSummary

GetUnitSummary

Parameters

NameData typeUnit of measurementNote
unitIdStringN/AUnit Id to request summary for (is optional). If this is omitted, a summary is presented for all units available to the 'requester'.
date*DateTimeUTCDate that we request summary for.

Columns

NameData typeUnit of measurementNullabilityNote
unitIdStringN/AFALSEUnique identifier.
startTimeDateTimeN/ATRUELocal time (of unit's end-customer).
startLocationLocationN/ATRUE
startAddressAddressN/ATRUE
stopTimeDateTimeN/ATRUELocal time (of unit's end-customer).
stopLocationLocationN/ATRUE
stopAddressAddressN/ATRUE
input1ChangeCounterINT#FALSE
run1DoubleSecondFALSE
run2DoubleSecondFALSE
run3DoubleSecondFALSEOutputs 0 for ME201 and ME301 unit types.
run4DoubleSecondFALSEOutputs 0 for ME201 and ME301 unit types.
runOdoDoubleSecond
kmDoubleKmFALSE

Request (example)

{
   "unitId": "46209",
   "date": "2013-08-20T07:00:00.0000000"
}

Response

{
           "list":[
              {
                 "unitId": "46209",
                 "startTime": "2013-08-20T07:28:58.0000000",
                 "startLocation":{
                    "latitude": 56.0371733333333,
                    "longitude": 12.5807916666667
                 },
                 "startAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "Blichersvej 35"
                 },
                 "stopTime": "2013-08-20T12:15:48.0000000",
                 "stopLocation":{
                    "latitude": 56.037065,
                    "longitude": 12.580745
                 },
                 "stopAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "Blichersvej 35"
                 },
                 "input1ChangeCounter": 0,
                 "input2ChangeCounter": 14,
                 "run1": 0,
                 "run2": 4680,
                 "run3": 0,
                 "run4": 0,
                 "runOdo": 4140,
                 "km": 40
              }
           ]
}