Units Collection

Will list all units.

URL Structure is:
https://api.trackunit.com/public/Unit

GetUnits

Columns

Refer to the following table for description of parameters:

NameData typeUnit of measurementNullabilityNote
idStringN/AFALSEUnique identifier.
serialNumberStringN/AFALSEUnit GSM number.
phoneNumberStringN/ATRUE
vehicleTypeStringN/AFALSE
deviceTypeStringN/AFALSEThe model of the unit.
deviceModelStringN/AFALSEThe model of the unit
nameStringN/AFALSE
displayNameStringN/AFALSEThe full display name with category name prefixed.
referenceNumberStringN/ATRUE
noteStringN/ATRUE
createdAtDateTimeN/ATRUETime of creation.
input1NameStringN/ATRUE
input2NameStringN/ATRUE
input3NameStringN/ATRUE
input4NameStringN/ATRUE
categoryIdStringN/ATRUE
clientIdStringN/ATRUE
keyIdStringN/ANULL
If unit never reported it or there is no driver logged in.
gpsFixTimeDateTimeUTC timeNULL
If unit never reported valid GPS fix.
messageTimeDateTimeUTC timeNULL
If unit never reported at all.
locationLocationN/ATRUE
altitudeDoublekmTRUEAbove sea level.
headingIntDegreesTRUE0 to 359 degrees. 0 means straight north direction, 90 - straight east etc.
speedDoublekm/hTRUECurrent speed.
addressAddressN/ATRUE
temperature1DoubleCelcius degreesTRUETemperature sensor 1 value.
temperature2DoubleCelcius degreesTRUETemperature sensor 2 value.
gsmLevelDoubleN/ATRUEGSM signal level.
gsmSignalQualityStringN/ATRUEGSM signal quality, i.e. “Good” / “Bad”.
gpsSignalQualityStringN/ATRUEGPS signal quality, i.e. “Good” / “Bad”.
batteryLevelDoublePercentTRUEInternal battery level.
externalPowerDoubleVoltTRUEExternal power voltage.
preRun1DoubleSecondsFALSEFixed value to append to hour meter on input 1.
preRun2DoubleSecondsTRUEFixed value to append to hour meter on input 2.
run1DoubleSecondsTRUEHour meter to Input 1.
run2DoubleSecondsTRUEHour meter to Input 2.
run3DoubleSecondsTRUEHour meter to Input 3.
run4DoubleSecondsTRUEHour meter to Input 4.
runOdoDoubleKmFALSEHou rmeter for driving.
preKmDoubleKmFALSEFixed value to append to Km.
kmDoubleKmTRUETotal km driven.
input1BoolN/ATRUEStatus of input 1.
input2BoolN/ATRUEStatus of input 2.
input3BoolN/ATRUEStatus of input 3.
input4BoolN/ATRUEStatus of input 4.
input5BoolN/ATRUEStatus of input 5.
input6BoolN/ATRUEStatus of input 6.
input7BoolN/ATRUEStatus of input 7.
input8BoolN/ATRUEStatus of input 8.
input9BoolN/ATRUEStatus of input 9.
input10BoolN/ATRUEStatus of input 10.
output1BoolN/ATRUEStatus of output 1.
output2BoolN/ATRUEStatus of output 2.
output3BoolN/ATRUEStatus of output 3.
output4BoolN/ATRUEStatus of output 4.
output5BoolN/ATRUEStatus of output 5.
analogInput1DoubleVoltTRUEVoltage on analog input 1.
analogInput2DoubleVoltTRUEVoltage on analog input 2.
analogInput4DoubleVoltTRUEVoltage on analog input 4.
input1ChangeCounterIntN/ATRUENumber of input cycles on input 1.
input2ChangeCounterIntN/ATRUENumber of input cycles on input 2.
input3ChangeCounterIntN/ATRUENumber of input cycles on input 3.
input4ChangeCounterIntN/ATRUENumber of input cycles on input 4.
isActiveBoolN/AFALSEIndicates whether unit is active or inactive.
isOwnBoolN/ATRUEIndicates whether the unit is owned by customer using the API, or not.
currentStopDoubleSecondsTRUECurrent stop time in seconds.

📘

Important

Not all of the above parameters are available for all unit types.

Request (example)

{}

Response

{
	"list": [{
		"id": "12523",
		"serialNumber": "12541",
		"phoneNumber": "4550875030",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Lene",
		"displayName": "Lene",
		"note": "",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Power outlet",
		"input2Name": "Ignition",
		"input3Name": "Input 3",
		"input4Name": "Input 4",
		"gpsFixTime": "2014-08-17T14:30:17.0000000Z",
		"messageTime": "2014-08-17T14:30:17.0000000Z",
		"location": {
			"latitude": 56.1789116666667,
			"longitude": 8.73705666666667
		},
		"altitude": 0,
		"heading": 283,
		"speed": 0,
		"address": {
			"country": "DK",
			"zipCode": "7480",
			"city": "Vildbjerg",
			"streetAddress": "Trehøjevej"
		},
		"gsmLevel": 67.741935483871,
		"gsmSignalQuality": "Good",
		"externalPower": 37.082,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 0,
		"run2": 39358680,
		"run3": 0,
		"run4": 0,
		"runOdo": 32068134,
		"preKm": 0,
		"km": 1402843,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 1389672
	}, {
		"id": "12524",
		"serialNumber": "12542",
		"phoneNumber": "4550875031",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Poul",
		"displayName": "Poul",
		"note": "",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Power outlet",
		"input2Name": "Ignition",
		"input3Name": "Input 3",
		"input4Name": "Input 4",
		"gpsFixTime": "2016-04-15T12:31:43.0000000Z",
		"messageTime": "2016-04-15T12:31:43.0000000Z",
		"location": {
			"latitude": 56.1786233333333,
			"longitude": 8.73692833333333
		},
		"altitude": 0,
		"heading": 153,
		"speed": 0,
		"address": {
			"country": "DK",
			"zipCode": "7480",
			"city": "Vildbjerg",
			"streetAddress": "Møltrupvej 1"
		},
		"gsmLevel": 93.5483870967742,
		"gsmSignalQuality": "Good",
		"externalPower": 37.082,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 0,
		"run2": 46509240,
		"run3": 0,
		"run4": 0,
		"runOdo": 36597393,
		"preKm": 0,
		"km": 836974,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 7999
	}, {
		"id": "12525",
		"serialNumber": "12543",
		"phoneNumber": "4550875032",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Andreas",
		"displayName": "Andreas",
		"note": "",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Power outlet",
		"input2Name": "Ignition",
		"input3Name": "Input 3",
		"input4Name": "Input 4",
		"gpsFixTime": "2013-09-18T09:56:41.0000000Z",
		"messageTime": "2015-01-18T08:21:57.5216448Z",
		"location": {
			"latitude": 54.82387,
			"longitude": 9.32606666666667
		},
		"altitude": 0,
		"heading": 20,
		"speed": 88,
		"address": {
			"country": "DK",
			"zipCode": "6330",
			"city": "Padborg",
			"streetAddress": "Sønderjyske Motorvej"
		},
		"gsmLevel": 90.3225806451613,
		"gsmSignalQuality": "Good",
		"externalPower": 0,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 0,
		"run2": 45227760,
		"run3": 0,
		"run4": 0,
		"runOdo": 39703167,
		"preKm": 0,
		"km": 1001950,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 72947
	}, {
		"id": "12527",
		"serialNumber": "12545",
		"phoneNumber": "4550875034",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Alexander",
		"displayName": "CAT Alexander",
		"note": "",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Power outlet",
		"input2Name": "Ignition",
		"input3Name": "Input 3",
		"input4Name": "Input 4",
		"categoryId": "29646",
		"gpsFixTime": "2016-04-15T12:38:07.0000000Z",
		"messageTime": "2016-04-15T12:38:07.0000000Z",
		"location": {
			"latitude": 56.1786783333333,
			"longitude": 8.73711833333333
		},
		"altitude": 0,
		"heading": 8,
		"speed": 0,
		"address": {
			"country": "DK",
			"zipCode": "7480",
			"city": "Vildbjerg",
			"streetAddress": "Møltrupvej 1"
		},
		"gsmLevel": 100,
		"gsmSignalQuality": "Good",
		"externalPower": 37.082,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 0,
		"run2": 60036840,
		"run3": 0,
		"run4": 0,
		"runOdo": 51492861,
		"preKm": 0,
		"km": 1523825,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 77814
	}, {
		"id": "12529",
		"serialNumber": "12547",
		"phoneNumber": "4550875036",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Jonna",
		"displayName": "Jonna",
		"note": "",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Power outlet",
		"input2Name": "Ignition",
		"input3Name": "Input 3",
		"input4Name": "Input 4",
		"gpsFixTime": "2016-02-16T07:48:49.0000000Z",
		"messageTime": "2016-02-16T07:48:49.0000000Z",
		"location": {
			"latitude": 56.1254133333333,
			"longitude": 8.94063
		},
		"altitude": 0,
		"heading": 0,
		"speed": 0,
		"address": {
			"country": "DK",
			"zipCode": "7400",
			"city": "Herning",
			"streetAddress": "Mads Eg Damgaards Vej 56"
		},
		"gsmLevel": 100,
		"gsmSignalQuality": "Good",
		"externalPower": 37.661,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 0,
		"run2": 65586720,
		"run3": 0,
		"run4": 0,
		"runOdo": 47023515,
		"preKm": 0,
		"km": 1035349,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 1028175
	}, {
		"id": "12530",
		"serialNumber": "12548",
		"phoneNumber": "4550875037",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Matthias",
		"displayName": "Matthias",
		"note": "",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Strømudtag",
		"input2Name": "Tænding",
		"input3Name": "Indgang 3",
		"input4Name": "Indgang 4",
		"clientId": "34053",
		"gpsFixTime": "2016-04-15T12:30:56.0000000Z",
		"messageTime": "2016-04-15T12:30:56.0000000Z",
		"location": {
			"latitude": 57.45799,
			"longitude": 10.4853383333333
		},
		"altitude": 0,
		"heading": 0,
		"speed": 0,
		"address": {
			"country": "DK",
			"zipCode": "9900",
			"city": "Frederikshavn",
			"streetAddress": "Vendsysselvej 197"
		},
		"gsmLevel": 77.4193548387097,
		"gsmSignalQuality": "Good",
		"externalPower": 35.923,
		"preRun1": 1800000,
		"preRun2": 0,
		"run1": 0,
		"run2": 55705440,
		"run3": 0,
		"run4": 0,
		"runOdo": 38547243,
		"preKm": 10000,
		"km": 1420435,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 68609
	}, {
		"id": "15423",
		"serialNumber": "14846",
		"phoneNumber": "4541806265",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Hanne - vogn 37",
		"displayName": "Hanne - vogn 37",
		"note": "Jacob Zimmer",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Power outlet",
		"input2Name": "Ignition",
		"input3Name": "Input 3",
		"input4Name": "Input 4",
		"gpsFixTime": "2016-04-15T12:38:28.0000000Z",
		"messageTime": "2016-04-15T12:38:28.0000000Z",
		"location": {
			"latitude": 53.0485233333333,
			"longitude": 11.3516733333333
		},
		"altitude": 0,
		"heading": 179,
		"speed": 0,
		"address": {
			"country": "DE",
			"zipCode": "29475",
			"city": "Gorleben",
			"streetAddress": "Hauptstraße 48"
		},
		"gsmLevel": 100,
		"gsmSignalQuality": "Good",
		"externalPower": 38.241,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 22440,
		"run2": 31155120,
		"run3": 0,
		"run4": 0,
		"runOdo": 27648000,
		"preKm": 453793,
		"km": 448750,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 9855
	}, {
		"id": "15425",
		"serialNumber": "14848",
		"phoneNumber": "4541806267",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Car WR 290",
		"displayName": "WR Car WR 290",
		"note": "Jacob Zimmer",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Power outlet",
		"input2Name": "Ignition",
		"input3Name": "Input 3",
		"input4Name": "Input 4",
		"categoryId": "41261",
		"gpsFixTime": "2016-04-15T12:26:16.0000000Z",
		"messageTime": "2016-04-15T12:26:16.0000000Z",
		"location": {
			"latitude": 53.0484233333333,
			"longitude": 11.3521616666667
		},
		"altitude": 0,
		"heading": 117,
		"speed": 0,
		"address": {
			"country": "DE",
			"zipCode": "29475",
			"city": "Gorleben",
			"streetAddress": "Hauptstraße 48"
		},
		"gsmLevel": 93.5483870967742,
		"gsmSignalQuality": "Good",
		"externalPower": 35.923,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 226440,
		"run2": 44617320,
		"run3": 0,
		"run4": 0,
		"runOdo": 39007320,
		"preKm": 73508,
		"km": 82997,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 9638
	}, {
		"id": "15426",
		"serialNumber": "14849",
		"phoneNumber": "4541806268",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Frederik - vogn 39",
		"displayName": "Frederik - vogn 39",
		"note": "Jacob Zimmer",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Nebenantrieb",
		"input2Name": "Zündung",
		"input3Name": "Eingang 3",
		"input4Name": "Eingang 4",
		"gpsFixTime": "2016-04-15T12:33:25.0000000Z",
		"messageTime": "2016-04-15T12:33:25.0000000Z",
		"location": {
			"latitude": 53.0484966666667,
			"longitude": 11.3521366666667
		},
		"altitude": 0,
		"heading": 349,
		"speed": 0,
		"address": {
			"country": "DE",
			"zipCode": "29475",
			"city": "Gorleben",
			"streetAddress": "Hauptstraße 48"
		},
		"gsmLevel": 93.5483870967742,
		"gsmSignalQuality": "Good",
		"externalPower": 36.502,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 0,
		"run2": 46701360,
		"run3": 0,
		"run4": 0,
		"runOdo": 39199140,
		"preKm": 157,
		"km": 168231,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 850753
	}, {
		"id": "15428",
		"serialNumber": "14851",
		"phoneNumber": "4541806270",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Car WR 234",
		"displayName": "WR Car WR 234",
		"note": "Jacob Zimmer",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Nebenantrieb",
		"input2Name": "Zündung",
		"input3Name": "Eingang 3",
		"input4Name": "Eingang 4",
		"categoryId": "41261",
		"gpsFixTime": "2016-04-15T12:40:46.0000000Z",
		"messageTime": "2016-04-15T12:40:46.0000000Z",
		"location": {
			"latitude": 51.9715083333333,
			"longitude": 11.672165
		},
		"altitude": 0,
		"heading": 346,
		"speed": 88,
		"address": {
			"country": "DE",
			"zipCode": "39221",
			"city": "Bördeland",
			"streetAddress": "E49"
		},
		"gsmLevel": 96.7741935483871,
		"gsmSignalQuality": "Good",
		"externalPower": 36.502,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 77964720,
		"run2": 43485240,
		"run3": 0,
		"run4": 0,
		"runOdo": 0,
		"preKm": 372991,
		"km": 0,
		"input1": true,
		"input2": true,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 120250542
	}, {
		"id": "15429",
		"serialNumber": "14852",
		"phoneNumber": "4541806271",
		"vehicleType": "Car",
		"deviceType": "Trackunit",
		"deviceModel": "ME201",
		"name": "Troels - vogn 98",
		"displayName": "Troels - vogn 98",
		"note": "Jacob Zimmer",
		"createdAt": "2009-01-01T00:00:00.0000000Z",
		"input1Name": "Nebenantrieb",
		"input2Name": "Zündung",
		"input3Name": "Eingang 3",
		"input4Name": "Eingang 4",
		"gpsFixTime": "2016-04-15T12:39:58.0000000Z",
		"messageTime": "2016-04-15T12:39:58.0000000Z",
		"location": {
			"latitude": 53.048715,
			"longitude": 11.35201
		},
		"altitude": 0,
		"heading": 173,
		"speed": 0,
		"address": {
			"country": "DE",
			"zipCode": "29475",
			"city": "Gorleben",
			"streetAddress": "Ringstraße 9"
		},
		"gsmLevel": 100,
		"gsmSignalQuality": "Good",
		"externalPower": 37.082,
		"preRun1": 0,
		"preRun2": 0,
		"run1": 135960,
		"run2": 40788240,
		"run3": 0,
		"run4": 0,
		"runOdo": 33397980,
		"preKm": 828,
		"km": 381055,
		"input1": false,
		"input2": false,
		"input3": false,
		"input4": false,
		"input5": false,
		"input6": false,
		"input7": false,
		"input8": false,
		"input9": false,
		"input10": false,
		"output1": false,
		"output2": false,
		"output3": false,
		"output4": false,
		"output5": false,
		"isActive": true,
		"isOwn": false,
		"currentStop": 863
	}]
}