一户一档获取工地开放和在线交付批次下问题状态数量
请求方式: POST
请求路径:
https://prod.open-api.mysre.cn/yxdccs/openapi/room-archives/get-batch-problem-count
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| o | query | string | 是 | retesting | 租户code | |
| tenant_code | body | string | 是 | retesting | 租户code | |
| roomId | body | string | 是 | 39fe7386-7359-8d1c-2167-e76802df4819 | 房间id |
{"tenant_code":"retesting","roomId":"39fe7386-7359-8d1c-2167-e76802df4819"}
{
"result": true,
"success": true,
"msg": "",
"message": "",
"data": {
"delivery": [
{
"status": "待派单",
"total": "2"
},
{
"status": "待指派",
"total": "20"
},
{
"status": "待整改",
"total": "5"
},
{
"status": "已整改",
"total": "0"
}
],
"opening": [
{
"status": "待派单",
"total": "1"
},
{
"status": "待指派",
"total": "3"
},
{
"status": "待整改",
"total": "1"
},
{
"status": "已整改",
"total": "0"
}
]
}
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| result | bool | |
| success | bool | |
| msg | string | |
| message | string | |
| data | object | |
| data.delivery | array | 在线交付问题状态数量 |
| data.delivery.status | string | 状态 |
| data.delivery.total | string | 数量 |
| data.opening | array | 工地开放问题状态数量 |
| data.opening.status | string | 状态 |
| data.opening.total | string | 数量 |
{
"result": false,
"success": false,
"msg": "缺少参数:room_id",
"message": "缺少参数:room_id",
"data": []
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| msg | string | 错误信息 |