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

Name

Data type

Unit of measurement

Note

unitId

String

N/A

Unit Id to request summary for (is optional). If this is omitted, a summary is presented for all units available to the 'requester'.

date*

DateTime

UTC

Date that we request summary for.

Columns

Name

Data type

Unit of measurement

Nullability

Note

unitId

String

N/A

FALSE

Unique identifier.

startTime

DateTime

N/A

TRUE

Local time (of unit's end-customer).

startLocation

Location

N/A

TRUE

startAddress

Address

N/A

TRUE

stopTime

DateTime

N/A

TRUE

Local time (of unit's end-customer).

stopLocation

Location

N/A

TRUE

stopAddress

Address

N/A

TRUE

input1ChangeCounter

INT

FALSE

run1

Double

Second

FALSE

run2

Double

Second

FALSE

run3

Double

Second

FALSE

Outputs 0 for ME201 and ME301 unit types.

run4

Double

Second

FALSE

Outputs 0 for ME201 and ME301 unit types.

runOdo

Double

Second

km

Double

Km

FALSE

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
              }
           ]
}