Home / Docs Center / Platform API / DeviceInfoConditional Query
DeviceInfoConditional Query
Project: Platform API | page_id: 1078
Brief Description:
- Paginated batch query of the device summary table based on conditions
Request URL:
- /product/batchShortList
Request Method:
- POST
Parameters:
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| id | No | string | Device serial number |
| des | No | string | Device description |
| groupName | No | string | Group name |
| status | Yes | number | Online status. -1 all, 0 offline, 1 online |
Return Example
{
"list": [
{
"id": "productId",
"status": 0,
"isDisabled": true,
"des": "",
"addr": "http://productId.cloud.xstrive.com:9502",
}
],
"total": 1,
"size": 10,
}
Return Parameter Description
| Parameter Name | Type | Description |
|---|---|---|
| total | int | Total number of records |
| size | int | Maximum number of records on the current page |
| id | string | Device id |
| status | int8 | Device status: 0 offline, 1 online |
| des | string | Device description |
| addr | string | Device remote access address |
Notes
- None
Didn't find what you need?Contact us,Talk to our engineers directly.