deviceId required | integer unique device identifier or SerialID or Tracking ID |
Content-Type required | string Value: "application/json" |
x-auth-token required | string Value: "<YOUR AUTH TOKEN>" |
object the schedule of the device to server data transmission | |
hardware | number bitmask of the device fine tuning |
object device fine tuning | |
name | string device name |
modes | integer bitmask of triggers waking up the device (light, motion, etc.) |
guardMode | boolean switch device in the guard mode |
object digital fence parameters | |
object set of threshold values of sensors; when out bounds the customer to be notified | |
gpsMode | boolean switch GPS on/off |
object |
{- "schedule": {
- "timezone": "string",
- "periods": [
- {
- "start": 0,
- "end": 0,
- "period": 0
}
]
}, - "hardware": 0,
- "hardwareSettings": {
- "flightMode": true,
- "bleGatewayMode": true,
- "multiCellScan": true
}, - "name": "string",
- "modes": 0,
- "guardMode": true,
- "guardModeInfo": {
- "autoPanicMode": true,
- "inside": true,
- "latitude": 0,
- "longitude": 0,
- "radius": 0
}, - "triggers": {
- "freefallTriggerEnabled": true,
- "motionTriggerEnabled": true,
- "temperatureTriggerEnabled": true,
- "lightTriggerEnabled": true,
- "accelFs": 0,
- "accelOdr": 0,
- "freefallValue": 0,
- "freefallDuration": 0,
- "movementValue": 0,
- "movementDuration": 0,
- "temperatureMax": 0,
- "temperatureMin": 0,
- "notify": 0,
- "lightMax": 0,
- "lightMin": 0
}, - "gpsMode": true,
- "additionalParameters": {
- "logsInterval": 0
}
}
deviceId required | integer unique device identifier or SerialID or Tracking ID |
Content-Type required | string Value: "application/json" |
x-auth-token required | string Value: "<YOUR AUTH TOKEN>" |
{- "id": 0,
- "serialId": "string",
- "imei": "string",
- "simNumber": "string",
- "firmwareVersion": 0,
- "batteryCharge": 0,
- "lastWakeUpFormatted": "string",
- "lastLocation": {
- "latitude": 0,
- "longitude": 0
}, - "schedule": {
- "timezone": "string",
- "periods": [
- {
- "start": 0,
- "end": 0,
- "period": 0
}
]
}, - "hardware": 0,
- "hardwareSettings": {
- "flightMode": true,
- "bleGatewayMode": true,
- "multiCellScan": true
}, - "name": "string",
- "modes": 0,
- "guardMode": true,
- "guardModeInfo": {
- "autoPanicMode": true,
- "inside": true,
- "latitude": 0,
- "longitude": 0,
- "radius": 0
}, - "triggers": {
- "freefallTriggerEnabled": true,
- "motionTriggerEnabled": true,
- "temperatureTriggerEnabled": true,
- "lightTriggerEnabled": true,
- "accelFs": 0,
- "accelOdr": 0,
- "freefallValue": 0,
- "freefallDuration": 0,
- "movementValue": 0,
- "movementDuration": 0,
- "temperatureMax": 0,
- "temperatureMin": 0,
- "notify": 0,
- "lightMax": 0,
- "lightMin": 0
}, - "gpsMode": true,
- "additionalParameters": {
- "logsInterval": 0
}
}
deviceId required | integer unique device identifier or SerialID or Tracking ID |
page | integer Default: 0 page number |
pagesize | integer Default: 50 number of elements per page |
sortdirection | string Default: "desc" Enum: "desc" "asc" sorting direction |
includeLocations | string Default: true Enum: true false whether locations to be included in the response. Either includeLocations or includeLogs (or both) must be set to true |
includeLogs | string Default: false Enum: true false whether sensor and error logs to be included in the response. Either includeLocations or includeLogs (or both) must be set to true |
includeTemperature | string Default: true Enum: true false whether temperature to be included in the response |
includeSensors | string Default: true Enum: true false whether sensors data to be included in the response |
fromDate | integer Default: 0 unix epoch timestamp of the device states period start |
tillDate | integer unix epoch timestamp of the device states period end |
direction | string Default: "earlier" Enum: "earlier" "later" later means fromDate < DEVICE_LOCATIONS.TIME < tillDate; earlier means DEVICE_LOCATIONS.TIME < fromDate (and tillDate is ignored) |
Content-Type required | string Value: "application/json" |
x-auth-token required | string Value: "<YOUR AUTH TOKEN>" |
{- "status": 0,
- "data": {
- "last": true,
- "totalElements": 0,
- "fetchedElements": 0,
- "content": [
- {
- "id": 0,
- "location": {
- "latitude": 0,
- "longitude": 0,
- "radius": 0,
- "valid": true
}, - "temperature": 0,
- "light": 0,
- "moisture": 0,
- "accel": [
- 0
], - "humidity": 0,
- "noise": 0,
- "timings": 0,
- "batteryCharge": 0,
- "firmwareVersion": 0,
- "time": 0,
- "sourceType": "WIFI",
- "unixTime": 0,
- "formattedTime": "string",
- "eventType": "schedule"
}
]
}
}
deviceId required | integer unique device identifier or SerialID or Tracking ID |
Content-Type required | string Value: "application/json" |
x-auth-token required | string Value: "<YOUR AUTH TOKEN>" |
{- "id": 0,
- "serialId": "string",
- "imei": "string",
- "simNumber": "string",
- "firmwareVersion": 0,
- "batteryCharge": 0,
- "lastWakeUpFormatted": "string",
- "lastLocation": {
- "latitude": 0,
- "longitude": 0
}, - "schedule": {
- "timezone": "string",
- "periods": [
- {
- "start": 0,
- "end": 0,
- "period": 0
}
]
}, - "hardware": 0,
- "hardwareSettings": {
- "flightMode": true,
- "bleGatewayMode": true,
- "multiCellScan": true
}, - "name": "string",
- "modes": 0,
- "guardMode": true,
- "guardModeInfo": {
- "autoPanicMode": true,
- "inside": true,
- "latitude": 0,
- "longitude": 0,
- "radius": 0
}, - "triggers": {
- "freefallTriggerEnabled": true,
- "motionTriggerEnabled": true,
- "temperatureTriggerEnabled": true,
- "lightTriggerEnabled": true,
- "accelFs": 0,
- "accelOdr": 0,
- "freefallValue": 0,
- "freefallDuration": 0,
- "movementValue": 0,
- "movementDuration": 0,
- "temperatureMax": 0,
- "temperatureMin": 0,
- "notify": 0,
- "lightMax": 0,
- "lightMin": 0
}, - "gpsMode": true,
- "additionalParameters": {
- "logsInterval": 0
}
}