主题
确认待办状态
| 接口名称 | url | 请求方式 | 请求数据类型 |
|---|---|---|---|
| 待办消息是否变为已办的确认 | /api/todo-center/newtodo/open/checkcreatetodo.json | post | application/json |
请求参数
| 参数名称 | 参数说明 | 是否必填 | 数据类型 |
|---|---|---|---|
| sourcetype | 应用ID,即appId(待办中心的appid) | 是 | String |
| sourceitemid | 即发送待办的sourceId,生成的待办所关联的第三方服务业务记录的ID,是待办的批次号 | 是 | String |
| batchId | 批次ID, 标识是同一条审批流程的编号,流程审批中,所有的待办batchId必须一致,否则将会出现问题 | 是 | |
| jobNo | 待办接受人ID | 是 | String |
json
curl --location '{{url}}/api/todo-center/newtodo/open/checkcreatetodo.json' \
--header 'Content-Type: application/json' \
--data-raw '
{
"sourceitemid": "jzyj2eeappdemo",
"sourcetype": "500408114",
"openId": "5de50017e4b0b2767b870423"
}
'返回结果
json
{
"error": "",
"success": "true",
"data": {
"sourceid": "12345412995593412",
"appid": "1113811161813352448",
"check": true,
"dealCount": 1,//此处dealCount=1,undelCount=0,表示待办消息已由接受人变已办
"undelCount": 0
},
"errorCode": 0
}