Get current activity status of devices
GET
/devices/general_statusReturns a list of current activity statuses for devices according to the passed in device_ids
.
Role Permissions
Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request
Query Params
device_ids
string
required
Comma separated list of device IDs
Example:
123456789,9789456123
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
Request metadata object
code
integer
required
HTTP status code returned by response
response
object
required
Contains response data
devices
array [object {2}]
required
result
string
required
"OK" if successful, else "Fail" if error
Example
{
"meta": {
"code": 200
},
"response": {
"devices": [
{
"device_id": 787349914,
"status": "awake"
},
{
"device_id": 402617350,
"status": "offline"
},
{
"device_id": 107830818,
"status": "parked"
}
]
},
"result": "OK"
}
Last modified: 2 months ago