获取标段关联的所有楼栋

更新时间:2021-10-15 14:10:34

接口说明

获取标段关联的所有楼栋

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/bid-section/buildings

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
project_id body string 39ff70b4-7376-6fc3-0f15-2ce1824c7e8d 项目ID
bidsection_id body string 39ff70ba-0283-0743-969d-969492863305 标段ID
item_type body string 实测实量 业务类型
tenant_code query string zjalpha 租户code

请求示例

{
    "project_id":"39ff70b4-7376-6fc3-0f15-2ce1824c7e8d",
    "bidsection_id":"39ff70ba-0283-0743-969d-969492863305",
    "item_type":"实测实量"
}

返回成功示例

{
    "errcode": 0,
    "errmsg": "请求成功",
    "data": [
        {
            "building_id": "39ff70b8-63f9-8870-6723-78d169e3a2db",
            "building_name": "1#"
        },
        {
            "building_id": "39ff70b8-6490-b22c-d02c-0745cf44bf66",
            "building_name": "3#"
        }
    ]
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number
errmsg string
data array
data.building_id string 楼栋ID
data.building_name string 楼栋名称

失败返回示例

{
  "errcode":4001,
  "errmsg":"必填参数不能为空",
  "data":null
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number
errmsg string
data object

results matching ""

    No results matching ""