Skip to content

确认待办状态 ​

接口名称url请求方式请求数据类型
待办消息是否变为已办的确认/api/todo-center/newtodo/open/checkcreatetodo.jsonpostapplication/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
}