获取工序验收v3部位统计数据
请求方式: POST
请求路径:
https://prod.open-api.mysre.cn/process-accept-v3/statistics
| 参数名 | 参数位置 | 参数类型 | 必填 | 默认值 | 示例 | 描述 |
|---|---|---|---|---|---|---|
| project_id | body | string | 是 | 39ff70b4-7376-6fc3-0f15-2ce1824c7e8d | 项目ID | |
| conditions | body | string | 是 | query 可用条件 | ||
| query | query | string | 是 | zjalpha | 租户code |
{
"project_id": "39ff70b4-7376-6fc3-0f15-2ce1824c7e8d",
"conditions": ""
}
{
"errcode": 0,
"errmsg": "请求成功",
"data": {
"today_count": "0",
"status_count": [
{
"status": "已抽验",
"count": "3"
},
{
"status": "已验收",
"count": "6"
},
{
"status": "验收中",
"count": "2"
}
]
}
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|
| errcode | number | |
| errmsg | string | |
| data | object | |
| data.today_count | string | 今日报验数 |
| data.status_count | array | 状态统计数组 |
| data.status_count.status | string | |
| data.status_count.count | string |
{
"errcode":4001,
"errmsg":"必填参数不能为空"
}
| 参数名 | 参数类型 | 描述 |
|---|---|---|