queryTaskBatchByTaskScheduleId
Endpoint: console-rpa.aliyun.com/rpa/openapi/task/queryTaskBatchByTaskScheduleId
Method: GET
Response format: JSON
Description: Queries the batch information of a scheduled task based on its taskScheduleId.
Request parameters
Name | Type | Required | Example value | Description |
taskScheduleId | String | No | 90c77a48-4069-4af0-92eb-01dfc94f8693 | The unique identifier of the scheduled task. |
currentPage | Integer | No | 1 | The page number to display. |
pageSize | Integer | No | 1 | The number of records to display on each page. |
Response parameters
For information about common response parameters, see Responses. The following table describes the fields in the data parameter.
Name | Type | Example | Description |
uuid | String | 39f3c724-4c18-421b-a7e1-6032eb1b92e4 | The unique identifier of the task batch. |
taskScheduleId | String | 90c77a48-4069-4af0-92eb-01dfc94f8693 | The unique identifier of the scheduled task. |
status | String | SystemAutoTask-TestAPP1-2020-04-28 15:24:24 | |
result | String | null | The result of the batch. |
beginTime | String | 2020-05-20 14:43:00 | The time when the task started. |
endTime | String | 2020-05-20 14:43:18 | The time when the task ended. |
Examples
Request example:
https://console-rpa.aliyun.com/rpa/openapi/task/queryTaskBatchByTaskScheduleId?<Common request parameters>
&taskScheduleId="90c77a48-4069-4af0-92eb-01dfc94f8693"
¤tPage=1
&pageSize=1Response example:
{
"requestId":"d66410ff-27ef-4d70-8e81-f920017c1098",
"success":true,
"code":0,
"msg":"The request was successful.",
"msgCode":"result.success",
"data":[
{
"uuid":"39f3c724-4c18-421b-a7e1-6032eb1b92e4",
"taskScheduleId":"90c77a48-4069-4af0-92eb-01dfc94f8693",
"status":"all_finish",
"result":null,
"beginTime":"2020-05-20 14:43:00",
"endTime":"2020-05-20 14:43:18"
}
],
"pager":{
"currentPage":1,
"totalPage":1,
"pageSize":1,
"total":1,
"limit":1,
"offset":0
}
}