全部产品

queryTaskByTaskBatchId

更新时间:2020-08-19 10:44:11

调用地址:https://api-rpa.aliyun.com/rpa/openapi/task/queryTaskByTaskBatchId
调用方式:GET
返回类型:JSON
接口说明:根据任务批次唯一标识符(taskBatchId)查询计划任务信息

请求参数

名称 类型 是否必选 示例值 描述
taskBatchId String 39f3c724-4c18-421b-a7e1-6032eb1b92e4 任务批次唯一标识符
currentPage Integer 1 展示页码
pageSize Integer 1 每页展示记录数

返回参数

返回参数公共字段请查阅返回结果,返回参数中的 data 字段说明如下:

名称 类型 示例值 描述
uuid String 8c809cdf-adba-44fb-b7c0-f53c6f4cc734 计划任务唯一标识符
taskBatchId String 39f3c724-4c18-421b-a7e1-6032eb1b92e4 任务批次唯一标识符
appId String fb6a99a1-d8bd-46ee-8bed-2ed9cb5a0c0d 应用唯一标识符
appName TestAPP1
clientId 45E2D8F778B0A38C85344B6B2EF10FD4
status completion
result
beginTime 2020-05-20 14:43:00
endTime 2020-05-20 14:43:18
triggerType schedule
taskTrigger null
client uuid
groupId
clientType
name
ip
macAddress
status
dispatchMode

示例

请求示例:

  1. https://api-rpa.aliyun.com/rpa/openapi/task/queryTaskByTaskBatchId?<公共请求参数>
  2. &taskBatchId="39f3c724-4c18-421b-a7e1-6032eb1b92e4"
  3. &currentPage=1
  4. &pageSize=1

返回示例:

  1. {
  2. "requestId":"68fdbb04-f13c-4448-a061-cd62daaa2df9",
  3. "success":true,
  4. "code":0,
  5. "msg":"调用成功",
  6. "msgCode":"result.success",
  7. "data":[
  8. {
  9. "uuid":"f3b6a957-3a8e-4486-aa84-9b581e24366b",
  10. "taskBatchId":"39f3c724-4c18-421b-a7e1-6032eb1b92e4",
  11. "appId":"fb6a99a1-d8bd-46ee-8bed-2ed9cb5a0c0d",
  12. "appName":"TestAPP1",
  13. "clientId":"45E2D8F778B0A38C85344B6B2EF10FD4",
  14. "status":"completion",
  15. "result":"任务状态:",
  16. "beginTime":"2020-05-20 14:43:00",
  17. "endTime":"2020-05-20 14:43:18",
  18. "triggerType":"schedule",
  19. "taskTrigger":null,
  20. "client":{
  21. "uuid":"45E2D8F778B0A38C85344B6B2EF10FD4",
  22. "groupId":"b8e097d8-605c-47cf-a5a3-db5d13f8b4ca",
  23. "clientType":"robot",
  24. "name":"test",
  25. "ip":"10.30.88.168",
  26. "macAddress":"00:16:3E:04:36:AD",
  27. "status":"authorized",
  28. "dispatchMode":"unmanned"
  29. }
  30. }
  31. ],
  32. "pager":{
  33. "currentPage":1,
  34. "totalPage":1,
  35. "pageSize":1,
  36. "total":1,
  37. "limit":1,
  38. "offset":0
  39. }
  40. }