1. 获取模型数据结构树

1.1. 基本信息

Path

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

API描述

根据模型数据结构树根节点key获取完整树结构

1.2. 请求参数

Request Headers

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

Path Param

参数名称 介绍 举例
buildingId 建筑id abc
rootKey 模型数据结构树根节点key 数据值为 {buildingId}_bim

1.3. 返回内容

执行成功

{
    "message": "请求处理成功",
    "code": "SUCCESS",
    "data": {
        "code": "yca4976bc9754928b244219553c2d1b6_bim",
        "level": 1,
        "leaf": false,
        "guser": "users/d1486ef581aa4d528f859adb79aa2dfa",
        "size": 40346460,
        "gtime": "1609821504812",
        "children": [
            {
                "code": "1tE2Gwty9DQg8Df2IUrYCs",
                "level": 2,
                "leaf": true,
                "parentId": "yca4976bc9754928b244219553c2d1b6_bim",
                "guser": "users/d1486ef581aa4d528f859adb79aa2dfa",
                "size": 26959123,
                "gtime": "1609821504789",
                "permissionGroup": [],
                "name": "模型文件夹2",
                "guid": "c5f689653ee64bad8d23877f96252757",
                "longCode": "yca4976bc9754928b244219553c2d1b6_bim※c5f689653ee64bad8d23877f96252757",
                "bosclass": "uoModelFolder",
                "key": "c5f689653ee64bad8d23877f96252757",
                "order": 2,
                "gcreatetime": "1609151434660",
                "longName": "模型数据根节点※模型文件夹2"
            },
            {
                "code": "5fUswAxDgZPx4NFiEgVD6U",
                "level": 2,
                "leaf": false,
                "parentId": "yca4976bc9754928b244219553c2d1b6_bim",
                "guser": "users/d1486ef581aa4d528f859adb79aa2dfa",
                "size": 12890718,
                "gtime": "1609728942971",
                "children": [
                    {
                        "code": "4552adrOJJ4ELOBikACtZN",
                        "level": 3,
                        "leaf": true,
                        "parentId": "1a556c48fa404efbab4684a8e814423a",
                        "guser": "users/d1486ef581aa4d528f859adb79aa2dfa",
                        "size": 0,
                        "gtime": "1609824262772",
                        "permissionGroup": [],
                        "name": "文件夹x",
                        "guid": "1b8b629f7f734b3b8250aac780fe1923",
                        "longCode": "yca4976bc9754928b244219553c2d1b6_bim※1a556c48fa404efbab4684a8e814423a※1b8b629f7f734b3b8250aac780fe1923",
                        "bosclass": "uoModelFolder",
                        "key": "1b8b629f7f734b3b8250aac780fe1923",
                        "order": 1,
                        "gcreatetime": "1609824262772",
                        "longName": "模型数据根节点※模型文件夹1※文件夹x"
                    }
                ],
                "permissionGroup": [],
                "name": "模型文件夹1",
                "guid": "1a556c48fa404efbab4684a8e814423a",
                "longCode": "yca4976bc9754928b244219553c2d1b6_bim※1a556c48fa404efbab4684a8e814423a",
                "bosclass": "uoModelFolder",
                "key": "1a556c48fa404efbab4684a8e814423a",
                "order": 1,
                "gcreatetime": "1609151429149",
                "longName": "模型数据根节点※模型文件夹1"
            }
        ],
        "permissionGroup": [],
        "name": "模型数据根节点",
        "guid": "yca4976bc9754928b244219553c2d1b6_bim",
        "longCode": "yca4976bc9754928b244219553c2d1b6_bim",
        "bosclass": "uoModelFolder",
        "_class": "com.bimwinner.building.model.Folders",
        "key": "yca4976bc9754928b244219553c2d1b6_bim",
        "gcreatetime": "1609151411768",
        "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 ""