Device Activity
POST
/reports/activity
Authorizations
ApiKeyAuth
API Key for authentication. Retrieval from either API version login routes, or other authentication token type. See Authentication for more details.
TypeAPI Key (header: Authorization)
Example
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Request Body
application/x-www-form-urlencoded
deviceId
number
Required
The device id to get the data for
Format
dateRange
string
Required
The date range to get the data for, in epoch milliseconds, [start, end]
Format
JSON
parameters
string
Optional parameters, as JSON object, use the APP and developer console to see the options
Format
JSON
Responses
Request was successfulSchema JSON JSON
application/json
{
"off": {
"time": 0,
"distance": 0
},
"idle": {
"time": 0,
"distance": 0
},
"movingWithIgnitionOn": {
"time": 0,
"distance": 0
},
"movingWithIgnitionOff": {
"time": 0,
"distance": 0
},
"log": [
{
}
]
}