获取开放、交付批次问题状态数量

更新时间:2023-02-24 10:59:52

接口说明

一户一档获取工地开放和在线交付批次下问题状态数量

基本信息

请求方式: 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 错误信息

results matching ""

    No results matching ""