Trackunit Developer Hub

Developer Hub

Welcome to our Developer hub.

Here You'll find comprehensive documentation to help you start working with the API's as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Trip

A Report is essentially a summary of data over a particular period of time.
A summary could for instance be based on driving data (trips), or the usage of access keys.

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

GetReportTrip

Will provide a summary of trips traveled with start/stop location info, date and time etc.
A log of the actual driving.

📘

Note

You must specify at least one of UnitId or KeyId.

Parameters

NameData typeNoteNote
unitIDString
Optional
N/AUnit Id to request summary for.
keyIDString
Optional
N/AKey Id to request summary for.
dateFrom*DateTime
Required
UTCDate that we request summary for.
dateTo*DateTime
Required
UTCSimilar to DateFrom

Columns

Refer to the following table for description of columns:

NameDate typeUnit of measurementNullabilityNote
unitIdStringN/AFALSEUnique identifier, unit.
keyIdStringN/ATRUEUnique identifier, key.
startTimeDateTimeUTCFALSE
startLocationLocationN/ATRUE
startAddressAddressN/ATRUE
startKmDoubleKmFALSE
startRun1DateTimeUTCFALSE
stopTimeDateTimeUTCFALSE
stopLocationLocationN/ATRUE
stopAddressAddressN/ATRUE
stopKmDoubleKmFALSE
stopRun1DoubleSecondFALSE
finishedBoolN/AFALSE
maxSpeedDoubleKm/hTRUE

Request (example)

{
   "unitId": "46209",
   "dateFrom": "2013-08-05T07:00:00.0000000",
   "dateTo": "2013-08-06T07:00:00.0000000"
}

Response

{
           "list":[
              {
                 "unitId": "46209",
                 "startTime":" 2013-08-05T07:26:07.0000000",
                 "startLocation":{
                    "latitude": 56.0380633333333,
                    "longitude": 12.6013966666667
                 },
                 "startAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "Esrumvej 9A"
                 },
                 "startKm": 12959,
                 "startRun1": 0,
                 "stopTime": "2013-08-05T07:30:18.0000000",
                 "stopLocation":{
                    "latitude": 56.0453933333333,
                    "longitude": 12.5890566666667
                 },
                 "stopAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "Türnhøjvej 6"
                 },
                 "stopKm": 12961,
                 "stopRun1": 0,
                 "finished": true,
                 "maxSpeed": 33.336
              },
              {
                 "unitId": "46209",
                 "startTime": "2013-08-05T07:35:36.0000000",
                 "startLocation":{
                    "latitude": 56.04539,
                    "longitude": 12.5891783333333
                 },
                 "startAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "Türnhøjvej 6"
                 },
                 "startKm": 12961,
                 "startRun1": 0,
                 "stopTime": "2013-08-05T07:40:15.0000000",
                 "stopLocation":{
                    "latitude": 56.0370916666667,
                    "longitude": 12.580795
                 },
                 "stopAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "Blichersvej 33"
                 },
                 "stopKm": 12963,
                 "stopRun1": 0,
                 "finished": true,
                 "maxSpeed": 40.744
              },
              {
                 "unitId": "46209",
                 "startTime": "2013-08-06T05:40:18.0000000",
                 "startLocation":{
                    "latitude": 56.037205,
                    "longitude": 12.5807183333333
                 },
                 "startAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "Blichersvej 33"
                 },
                 "startKm": 12963,
                 "startRun1": 0,
                 "stopTime": "2013-08-06T05:45:39.0000000",
                 "stopLocation":{
                    "latitude": 56.02579,
                    "longitude": 12.5709166666667
                 },
                 "stopAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "H P Christensens Vej 4A"
                 },
                 "stopKm": 12966,
                 "stopRun1": 0,
                 "finished": true,
                 "maxSpeed": 72.228
              },
              {
                 "unitId": "46209",
                 "startTime": "2013-08-06T06:08:57.0000000",
                 "startLocation":{
                    "latitude": 56.025885,
                    "longitude": 12.57114
                 },
                 "startAddress":{
                    "country": "DK",
                    "zipCode": "3000",
                    "city": "Helsingør",
                    "streetAddress": "H P Christensens Vej 4B"
                 },
                 "startKm": 12966,
                 "startRun1": 0,
                 "stopTime": "2013-08-06T06:25:31.0000000",
                 "stopLocation":{
                    "latitude": 55.9742283333333,
                    "longitude": 12.411285
                 },
                 "stopAddress":{
                    "country": "DK",
                    "zipCode": "3480",
                    "city": "Fredensborg",
                    "streetAddress": "Hammersvej 15"
                 },
                 "stopKm": 12981,
                 "stopRun1": 0,
                 "finished": true,
                 "maxSpeed": 125.936
              }
           ]
 }

Updated less than a minute ago

Trip


A Report is essentially a summary of data over a particular period of time.
A summary could for instance be based on driving data (trips), or the usage of access keys.

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

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.