获取指定部位有验收记录的列表

更新时间:2021-12-13 14:34:39

接口说明

不分页获取所有

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/process-accept-v3/locations

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
project_id body string 39ff70b4-7376-6fc3-0f15-2ce1824c7e8d
conditions body string ["or",["and",["=","bidsection_id","39ff70ba-0283-0743-969d-969492863305"],["=","item_id","39fec0ef-37f1-caf0-85d9-cebafdfdf510"],["or",["and",["=","building_id","39ff70b8-6490-b22c-d02c-0745cf44bf66"],["=","unit","2"],["=","floor","2"],["in","room_id",["39ff93e5-8248-92cc-2dde-ae30f041d299","39ff93e5-824a-5ab1-5639-ee1aef3b8033"]]],["and",["=","building_id","39ff70b8-6490-b22c-d02c-0745cf44bf66"],["=","unit","2"],["=","floor","1"],["in","room_id",["39ff93e5-8236-bfb0-00ee-e4ea86698f4f","39ff93e5-8238-220f-6252-4b1f2d35cc9a","39ff93e5-823a-5502-33a1-3d4ed66adadb","39ff93e5-823c-4a06-1e04-50ec6c402120"]]]]],["and",["=","bidsection_id","39ff70ba-0283-0743-969d-969492863305"],["=","item_id","39fec0f2-1d74-acda-31ed-9330707f4818"],["in","inspection_lot_id",{"0":"39ffa461-12a0-9a2b-7bc2-2b58edf6416d","2":"39ffa4d2-8782-8fbd-0c95-b6803a3d24db"}]],["and",["=","bidsection_id","39ff70ba-0283-0743-969d-969492863305"],["=","item_id","39fec0f1-1a93-fd7d-c644-7cddfa059f5a"],["in","building_id",["39ff70b8-6490-b22c-d02c-0745cf44bf66"]]]]

请求示例

{
    "project_id": "39ff70b4-7376-6fc3-0f15-2ce1824c7e8d",
    "conditions": "[\"or\",[\"and\",[\"=\",\"bidsection_id\",\"39ff70ba-0283-0743-969d-969492863305\"],[\"=\",\"item_id\",\"39fec0ef-37f1-caf0-85d9-cebafdfdf510\"],[\"or\",[\"and\",[\"=\",\"building_id\",\"39ff70b8-6490-b22c-d02c-0745cf44bf66\"],[\"=\",\"unit\",\"2\"],[\"=\",\"floor\",\"2\"],[\"in\",\"room_id\",[\"39ff93e5-8248-92cc-2dde-ae30f041d299\",\"39ff93e5-824a-5ab1-5639-ee1aef3b8033\"]]],[\"and\",[\"=\",\"building_id\",\"39ff70b8-6490-b22c-d02c-0745cf44bf66\"],[\"=\",\"unit\",\"2\"],[\"=\",\"floor\",\"1\"],[\"in\",\"room_id\",[\"39ff93e5-8236-bfb0-00ee-e4ea86698f4f\",\"39ff93e5-8238-220f-6252-4b1f2d35cc9a\",\"39ff93e5-823a-5502-33a1-3d4ed66adadb\",\"39ff93e5-823c-4a06-1e04-50ec6c402120\"]]]]],[\"and\",[\"=\",\"bidsection_id\",\"39ff70ba-0283-0743-969d-969492863305\"],[\"=\",\"item_id\",\"39fec0f2-1d74-acda-31ed-9330707f4818\"],[\"in\",\"inspection_lot_id\",{\"0\":\"39ffa461-12a0-9a2b-7bc2-2b58edf6416d\",\"2\":\"39ffa4d2-8782-8fbd-0c95-b6803a3d24db\"}]],[\"and\",[\"=\",\"bidsection_id\",\"39ff70ba-0283-0743-969d-969492863305\"],[\"=\",\"item_id\",\"39fec0f1-1a93-fd7d-c644-7cddfa059f5a\"],[\"in\",\"building_id\",[\"39ff70b8-6490-b22c-d02c-0745cf44bf66\"]]]]"
}

返回成功示例

{
  "errcode": 0,
  "errmsg": "请求成功",
  "data": [
    {
      "id": "3a00158c-5616-bf60-c5b8-1353b6a8812f",
      "bidsection_id": "39ff70ba-0283-0743-969d-969492863305",
      "bidsection_name": "标段一",
      "item_id": "39fec0ef-37f1-caf0-85d9-cebafdfdf510",
      "item_name": "主体工程(模板)-ptt分户",
      "process_mode": "1",
      "status": "验收中",
      "regist_date": "2021-11-09 14:25:29",
      "building_id": "39ff70b8-6490-b22c-d02c-0745cf44bf66",
      "building_name": "3#",
      "unit": "2",
      "floor": "1",
      "room_id": "39ff93e5-8236-bfb0-00ee-e4ea86698f4f",
      "room_no": "105",
      "room_name": "weij-测试项目-一期-3#-2-1-105",
      "inspection_lot_id": "",
      "inspection_lot_name": ""
    }
  ]
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number
errmsg string
data array
data.id string 验收ID
data.bidsection_id string 标段ID
data.bidsection_name string 标段名称
data.item_id string 检查项ID
data.item_name string 检查项名称
data.process_mode string 检查项级别
data.status string 验收状态
data.regist_date string 提交日期
data.building_id string 楼栋ID
data.building_name string 楼栋名称
data.unit string 单元
data.floor string 楼层
data.room_id string 房间ID
data.room_no string 房间编号
data.room_name string 房间全称
data.inspection_lot_id string 自定义检验批ID,可为 null
data.inspection_lot_name string 自定义检验批名称,可为 null

失败返回示例

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

返回参数说明(失败)

参数名 参数类型 描述

results matching ""

    No results matching ""