自用API-设备任务-查询计划对应的任务

2024-05-20 75

描述

根据参数查询任务列表

请求URL(post)

/rpa/company/device/task/list-by-plan

请求参数

查询条件, 根据需要选填,除了planId,其他查询条件都可选填 { "limit": 10, "page": 1, "planId": "计划id", (必填) "userId": "用户id", "deviceId": 设备id, "taskStartTime": 任务开始时间(时间戳), "taskEndTime": 任务结束时间(时间戳) }

入参样例

{ "deviceId": 549014817787973, "planId": "549060343238725" "limit": 10, "page": 1 }

返回数据

{ "data": [ { "hasDetail": true, "taskType": 1, "detailMsg": "运行1次,成功0次,文件0个", "interruptSupport": 0, "planName": "测试设备任务", "interruptStatus": 0, "userName": "boss", "taskId": "549021444104261", "taskStartTime": "2024-05-20 11:14:00", "taskStatus": 2, "taskRunTime": "2024-05-20 11:14:00", "taskEndTime": "2024-05-20 11:16:01" } ], "limit": 20, "count": 66, "page": 1 }