Device Data APIs

Retrieve comprehensive device data

Access detailed information about a device with this API endpoint. It provides a more comprehensive view of the device's status, usage, and configuration compared to the dashboard data.

get/rest/manager/getdata/getdevicedata/{deviceid}

Request

  • Base URL
    https://masonconsole.com
  • Auth
    HTTP bearer

Path parameters

deviceidstring required

The id of the device to retrieve data from

Query parameters

fieldsstring

Response

Successful response

resultstring

The result of the login operation. Should be either 'SUCCESS' or 'FAILURE'.

messagestring

The message associated with the login response (applicable in case of 'FAILURE').

@classstring required

Example response

{
  "data": {
    "deviceData": {
      "batteryLevel": 80,
      "connectionStatus": "connected"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.