一户一档获取部位名称
请求方式: POST
请求路径:
https://prod.open-api.mysre.cn/yxdccs/openapi/room-archives/get-position-problem-list
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| o | query | string | 是 | retesting | 租户code | |
| tenant_code | body | string | 是 | retesting | 租户code | |
| roomId | body | string | 是 | 39fe7386-7359-8d1c-2167-e76802df4819 | 房间id | |
| batch_type | body | string | 否 | 正式交付 | 正式交付 | 问题类型 |
{"tenant_code":"retesting","roomId":"39fe7386-7359-8d1c-2167-e76802df4819","batch_type":"正式交付"}
{
"result": true,
"success": true,
"msg": "",
"message": "",
"data": [
{
"position_id": "b04736cb-65b5-4adc-ac21-d611bac6d7e2",
"position": "厨房"
},
{
"position_id": "04f15c5f-543d-4123-bf24-4b7ef17cb1b0",
"position": "书房"
},
{
"position_id": "3a047dfb-9928-e105-54a5-63f6f1639cd1",
"position": "玄关的二级部位"
},
{
"position_id": "8b453266-983d-4da3-aa1a-9786123817c5",
"position": "主卧"
},
{
"position_id": "5a97684b-8f43-4acd-887e-f50d6a1bbe04",
"position": "玄关"
},
{
"position_id": "7b9bc773-76c5-4fc4-a88b-562ed6364347",
"position": "北次卧"
}
]
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| result | bool | |
| success | bool | |
| msg | string | |
| message | string | |
| data | array | |
| data.position_id | string | 部位id |
| data.position | string | 部位名称 |
{
"result": false,
"success": false,
"msg": "缺少参数:room_id",
"message": "缺少参数:room_id",
"data": []
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| msg | string | 错误信息 |