Home / Docs Center / Platform API / DeviceInfoConditional Query

DeviceInfoConditional Query

Platform API · Third-party Integration

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.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.