获取现场检查批次基础统计信息

更新时间:2021-10-12 10:52:28

接口说明

获取现场检查批次基础统计信息

基本信息

请求方式: POST

请求路径:

https://prod.open-api.mysre.cn/check-batch/statistics

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
batch_id body string 0971aa02-db60-4962-b198-6a734de4f6f8 批次ID
tenant_code query string zjalpha 租户code

请求示例

{
    "batch_id":"0971aa02-db60-4962-b198-6a734de4f6f8"
}

返回成功示例

{
    "errcode": 0,
    "errmsg": "请求成功",
    "data": {
        "basic_info": {
            "name": "weij-批次1",
            "repair_deadline": "7",
            "status": "",
            "is_closed": "0",
            "administrator": "weij",
            "bidsection_name": "标段一",
            "batch_users": [
                "weij"
            ],
            "batch_ccs": [
                "weij"
            ]
        },
        "problem_statistics": {
            "total_count": 4,
            "wait_deal_count": 1,
            "wait_check_count": 1,
            "passed_count": 1,
            "today_count": 0,
            "rate": "66.7%"
        }
    }
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number
errmsg string
data object
data.basic_info object
data.basic_info.name string 批次名称
data.basic_info.repair_deadline string 整改期限
data.basic_info.status string 状态
data.basic_info.is_closed string 是否关闭
data.basic_info.administrator string 管理员
data.basic_info.bidsection_name string 标段名称
data.basic_info.batch_users array 负责人数组
data.basic_info.batch_ccs array 抄送人数组
data.problem_statistics object 统计数据
data.problem_statistics.total_count number 问题总数
data.problem_statistics.wait_deal_count number 待整改问题数
data.problem_statistics.wait_check_count number 待复验问题数
data.problem_statistics.passed_count number 已通过问题数
data.problem_statistics.today_count number 今日新增问题数
data.problem_statistics.rate string 整改率

失败返回示例

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

返回参数说明(失败)

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

results matching ""

    No results matching ""