This API returns given device's status(on line/off line).
Request
Add parameter in header x-api-key
Example:x-api-key: ********************
Access token which was generated earlier
Body Params application/json
Device id list, Comma separated String
{
"acctId": "string",
"devIds": "string"
}
Request samples
curl --location --request POST '/devices/status' \
--header 'token;' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
"acctId": "string",
"devIds": "string"
}'
Responses
devices
array [object {2}]
optional{
"devices": [
{
"devId": "string",
"status": "string"
}
]
}
Modified at 2025-02-28 08:12:14