1. 获取自定义数据结构树

1.1. 基本信息

Path

GET http://building-bos.rickricks.com/bosfoundationservice/{buildingId}/prototype/query/tree/uoCustomDataStructures/{rootKey}?type=Child&depth=-1

API描述

根据自定义数据结构树根节点key获取完整树结构

1.2. 请求参数

Request Headers

参数名称 介绍 举例
Authorization 用户令牌 abc

Path Param

参数名称 介绍 举例
buildingId 建筑id abc
rootKey 自定义数据结构树根节点key 数据值为 {buildingId}_udr

1.3. 返回内容

执行成功

{
    "message": "请求处理成功",
    "code": "SUCCESS",
    "data": {
        "code": "UDR",
        "level": 1,
        "description": "",
        "showCode": false,
        "leaf": false,
        "guser": "users/a9eda0ae03064874b74268541e49c923",
        "treeName": "自定义数据",
        "gtime": 1573093124630,
        "children": [
            {
                "code": "f1",
                "level": 2,
                "leaf": false,
                "parentId": "l1b2427fccb8447f84a8e996a2f5f731_udr",
                "guser": "users/a9eda0ae03064874b74268541e49c923",
                "gtime": "1573698009074",
                "permissionGroup": [],
                "name": "f1",
                "guid": "40ad0348f4cb404cb371944d727620d4",
                "applyToChildNode": false,
                "longCode": "UDR※40ad0348f4cb404cb371944d727620d4",
                "bosclass": "uoCustomDataStructures",
                "key": "40ad0348f4cb404cb371944d727620d4",
                "order": 1,
                "gcreatetime": "1573698009074",
                "longName": "自定义数据※f1"
            }
        ],
        "permissionGroup": [],
        "name": "自定义数据",
        "applyToChildNode": false,
        "longCode": "UDR",
        "bosclass": "uoCustomDataStructures",
        "_class": "com.bimwinner.building.model.CustomDataStructure",
        "key": "l1b2427fccb8447f84a8e996a2f5f731_udr",
        "order": 0,
        "longName": "自定义数据"
    }
}
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2020 all right reserved,powered by Gitbook该文件修订时间: 2021-09-23 15:25:50

results matching ""

    No results matching ""