文档
测试

Device Classification List (Mobile APP)

POST
/qgy/equipgroup/branchList

接口描述

List of equipment categories

Request parameters

参数名
类型
描述
必填
userId
String
Current account id
必填

Return sample

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data": [ { "id": 1, "pid": 1, "name": "Huamei East Gate", //Device grouping name "createTime": "2020-09-09 00:00:00", "userId": "91A72CE7FC134285A5F19B55DBF6D36E", "children": null, "online":2,//Number of on-line devices currently grouped "offline":1,//Number of offline devices currently grouped "deviceKeys": [ //array of devices to which the device is grouped { "system": "Android", "deviceKey": "HJWV19DM47", "list": [], "id": 79, "sceneGuid": 0, "name": "HJWV19DM47", "state": 0,//Online status "createTime": "2020-07-24 15:37:41", "codeUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/code/HJWV19DM47.png", "intervals": 1000, "persoonleUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/code/HJWV19DM47Add.png", "groupId": 1, "passNumber": 0,//Number of equipment passed on the day "normal": 0,//Normal number of equipment for the day "abnormal": 0// Abnormal number of equipment on the day } ] } } ```