Last Updated on : 2023-06-21 07:13:07download
Query the list of heatmap analytics devices that are linked with a specified asset.
GET: /v1.0/iot-03/hotspots/{asset_id}/devices
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The ID of a specified store. |
device_id | String | query | false | The device number. |
page_no | Integer | query | true | The page number. |
page_size | Integer | query | true | The number of items returned on each page. |
Parameter name | Type | Description |
---|---|---|
result | Page | The returned results on pages. |
Description of result
Parameter name | Type | Description |
---|---|---|
total | Long | The total number of items. |
list | List |
The list of heatmap analytics devices. |
has_more | Boolean | Indicates whether additional data is available. |
Description of list
Parameter name | Type | Description |
---|---|---|
device_id | String | The device ID. |
name | String | The device name. |
online | Boolean | Indicates the online status of a specified device. Valid values:
|
GET: /v1.0/iot-03/hotspots/abcdxxxx/devices?page_no=1&page_size=10
{
"result": {
"list": [
{
"device_id": "abcd****",
"name": "Device 1"
},
{
"device_id": "dddd****",
"name": "Device 2"
}
],
"total": 2,
"has_more": false
},
"t": 111111111,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback