1.1.1. 1 获取指定模型的路网

基本信息

Path

GET http://building-bos.rickricks.com/bos3dengine/api/{databaseKey}/routes/list?modelKey={modelKey}

API描述

获取指定模型的路网信息

请求参数

Request Headers

参数名称 介绍 举例
Authorization 用户令牌 token
Content-Type media type application/json

Path Param

参数名称 介绍 举例
databaseKey 数据库key p0c69efe05224f3290d6ce2ac82cc6b3
modelKey 模型key M1606115043776_3

返回内容

执行成功

{
    "message": "请求处理成功",
    "code": "SUCCESS",
    "data": [
        {
            "key": "R1573804714727",
            "permission": null,
            "owner": null,
            "status": "0",
            "remark": null,
            "requestTime": "2019-11-15 15:58:34",
            "finishTime": null,
            "modelKey": "M1573800126990",
            "gridHeight": 1500.0,
            "gridWidth": 300.0
        },
        {
            "key": "R1573807272076",
            "permission": null,
            "owner": null,
            "status": "0",
            "remark": null,
            "requestTime": "2019-11-15 16:41:12",
            "finishTime": null,
            "modelKey": "M1573800126990",
            "gridHeight": 1500.0,
            "gridWidth": 300.0
        }
    ]
}

1.1.2. 2 获取指定模型保存的路径

基本信息

Path

POST http://building-bos.rickricks.com/bosfoundationservice/{buildingId}/prototype/query/uoNearestRoutes?noRelation=true

API描述

获取指定模型保存的路径信息

请求参数

Request Headers

参数名称 介绍 举例
Authorization 用户令牌 token
Content-Type media type application/json

Path Param

参数名称 介绍 举例
buildingId 建筑Id ic315043f5de4910ac5dbb0b6198b703

Request Body

application/json

参数名称 类型 必需 介绍
modelKey String Y 模型编码
{
    "condition": [
        {
            "field": "modelKey",
            "operator": "==",
            "value": "M1606117617335",
            "number": "false",
            "logic": ""
        }
    ]
}

返回内容

执行成功

{
    "message": "请求处理成功",
    "code": "SUCCESS",
    "data": {
        "data": [
            {
                "bosclass": "uoNearestRoutes",
                "code": "0fkJX2zSLlO95YVjjrjgpC",
                "currentUserPermissions": "rwdc",
                "end": "9788.683955545066,3732.436767578127,9983.604652101794",
                "gcreatetime": "1606118055077",
                "gtime": "1606118055077",
                "guser": "users/8aef99d70fc941bfb887a5f6cc774332",
                "key": "97a8006cc4574d028cf65d8c3875f897",
                "modelKey": "M1606117617335",
                "routeKey": "R1606117932213",
                "routeName": "路径1",
                "start": "10485.618878439009,2429.6971176874913,1832.0465743566447"
            }
        ],
        "count": 1
    }
}
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2020 all right reserved,powered by Gitbook该文件修订时间: 2021-09-23 15:25:50

results matching ""

    No results matching ""