1.1.1. 1 根据构件key获取关联的IoT数据信息

基本信息

Path

POST http://building-bos.rickricks.com/buildingservice/{buildingId}/iotPoint/getIotDataByTypeAndKeys

API描述

根据构件key获取关联的IoT数据信息

请求参数

Request Headers

参数名称 介绍 举例
Authorization 用户令牌 abc
Content-Type 内容类型 multipart/form-data

Path Param

参数名称 介绍 举例
buildingId 建筑id abc

form-data Param

参数名称 介绍 举例
type 参数类型 component
keys 构件key集合 M1611135657858_20,M1611135657858_21

返回内容

执行成功

{
    "message": "请求处理成功",
    "code": "SUCCESS",
    "data": [
        {
            "key": "21c38fe455fa4296b38e3ed42f5ab00f",
            "name": "测试设备-demo-device",
            "code": "72b120c98bd2496dbea2153d41087b35_join_demo_device_00001",
            "bosclass": "uoIotDatas",
            "attribute": {
                "开关状态": 0,
                "灯泡亮度": 64,
                "编码": "72b120c98bd2496dbea2153d41087b35_join_demo_device_00001",
                "名称": "测试设备-demo-device",
                "灯泡颜色": ""
            },
            "treeNodeKey": "60afd5522f944319a173cafe5479db3e",
            "iot": null,
            "iotCode": null
        }
    ]
}
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2020 all right reserved,powered by Gitbook该文件修订时间: 2021-09-23 15:25:50

results matching ""

    No results matching ""