1. 根据建筑结构树节点获取建筑结构数据信息

1.1. 基本信息

Path

POST http://building-bos.rickricks.com/bosfoundationservice/{buildingId}/prototype/linked/query

API描述

根据建筑结构树节点获取建筑结构数据信息

1.2. 请求参数

Request Headers

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

Path Param

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

Request Body

application/json

{
    "condition": [
        {
            "bosclass": "uoBldStructures",
            "alias": "d1",
            "subCondition": [
                {
                    "field": "_key",
                    "operator": "==",
                    "value": "l1b2427fccb8447f84a8e996a2f5f731_itr", // 建筑结构树节点key
                    "number": "false"
                }
            ]
        },
        {
            "bosclass": "uoStructureDatas",
            "alias": "us",
            "subCondition": []
        },
        {
            "bosclass": "uirBldStructureSelfData",
            "alias": "u1",
            "type": "relationship",
            "from": "d1",
            "to": "us",
            "subCondition": []
        }
    ],
    "select": {
        "name": "us.name",
        "key": "us._key",
        "code": "us.code",
        "attribute": "us.attribute"
    }
}

1.3. 返回内容

执行成功

{
    "message": "请求处理成功",
    "code": "SUCCESS",
    "data": {
        "data": [
            {
                "code": "ITR", // 建筑结构数据 编码
                "name": "物项分类", // 建筑结构数据 名称
                "attribute": { // 建筑结构数据 属性
                    "编码": "ITR",
                    "名称": "物项分类"
                },
                "key": "560293e317794a0a97501ec139b92029" // 建筑结构数据 key
            }
        ],
        "count": 1
    }
}
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2020 all right reserved,powered by Gitbook该文件修订时间: 2021-09-23 15:25:50

results matching ""

    No results matching ""