# 获取集成模型管道构件的临近构件
POST https://api.bimface.com/data/v1/pipe/integrations/{integrate-id}/files/{file-id-hash}/elements/{element-id}/neighbors
# 说明
依据筛选条件,获取管道系统构件的临近构件。
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Path
element-id * | 构件id | string |
file-id-hash * | 集成模型子文件hash值 | string |
integrate-id * | 集成id | integer (int64) |
# Body
filter | 筛选条件 | < Map«string,object» >array |
type | 上下游。上游:upstream,下游:downstream | string |
# 响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | OK | GeneralResponseV1«List«string»» |
201 | Created | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
# 200响应参数
GeneralResponseV1«List«string»»
名称 | 说明 | 类型 |
---|---|---|
code | 样例: "code" | string |
data | 返回数据 | < string >array |
message | 样例: "message" | string |
# 消耗
application/json
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://api.bimface.com/data/v1/pipe/integrations/2469540109043648/files/10000017820191/elements/905050/neighbors
# 请求 header
"Authorization: Bearer dc671840-bacc-4dc5-a134-97c1918d664b"
# 请求 body
{
"type":"upstream",
"filter":[{"type": "风管管件"}]
}
# HTTP响应示例
# 响应 200
{
"code": "bimfaceservice-0000",
"message": null,
"data": [
"905052"
]
}