文档
测试

List of equipment

POST
/qgy/equipment/deviceKeylist

接口描述

Viewing the Windows and Android devices belonging to the current user can || the status of the system according to the device serial number || the device name, several merge to view the Windows system and the Android system equipment that all the current users belong to if the null parameters are not transmitted

Request parameters

参数名
类型
描述
必填
index
Integer
Current page number
可选
length
Integer
Number of pages per page
可选
userId
String
Current user ID
必填
deviceKey
String
Equipment serial number
可选
system
String
The device distinguishes between specified values: Windows or Android or Thermometry
可选
state
Integer
State specified value :0: not online or 1: online
可选
groupId
Integer
Group id
可选
personnelGuid
String
A person guid (see if someone is authorized to this device)
可选
name
String
Name of equipment
可选

Return sample

``` { "result": 1, "msg": "successful operation!", "number": 10, "code": "QG_SUS1000", "data":{ "id": 12, "sceneGuid": "CCCC", "deviceKey": "CCCC", "name": "CCCC", "tag": "CCCCC", "userId": 46, "codeUrl": "https://qgyht.oss-cn-hangzhou.aliyuncs.com/deviceCode/84E0F421FA0706B2.png", "persoonleUrl":"https://qgyht.oss-cn-hangzhou.aliyuncs.com/deviceCode/84E0F421FA0706B2Add.png" "state":1, "createTime":"2018-11-28T07:10:30+0000", // guid the following two parameter passers return "_checked":true, // Are you authorized to return this parameter to true device "_disabled":true, //Does the current device true offline to return this parameter } , "count": 1 } ```