queryTaskScheduleByclientId
Request URL: console-rpa.aliyun.com/rpa/openapi/task/queryTaskScheduleByClientId
HTTP method: GET
Response format: JSON
Description: Queries scheduled tasks by client ID.
Request parameters
Name | Type | Required | Example | Description |
clientId | String | Yes | 5E77DA4EB87BCFB62A8B9527626A47F4 | The unique identifier of the client. |
currentPage | Integer | No | 1 | The page number. The default value is 1. |
pageSize | Integer | No | 1 | The number of records to display on each page. |
Response parameters
For more information about common response parameters, see Response parameters. The following table describes the fields in the data object.
Name | Type | Example | Description |
uuid | String | 9f613945-cb8f-4ed8-8a04-2ffd9d8f0812 | The unique identifier of the scheduled task. |
appId | String | fb6a99a1-d8bd-46ee-8bed-2ed9cb5a0c0d | The unique identifier of the application. |
name | String | SystemAutoTask-TestAPP1-2020-04-26 17:15:41 | The name of the scheduled task. |
groupId | String | b8e097d8-605c-47cf-a5a3-db5d13f8b4ca | The unique identifier of the enterprise. |
status | String | completion | |
creator | String | 93bf42a1-6e65-4912-98b2-4d5ec0e6260a | The creator. |
scheduleType | String | immediate | |
scheduleExpress | String | null | The parameters for the scheduled task. |
scheduleCron | String | null | The rule for the scheduled task. |
scheduleStartDate | Date | null | The start time of the scheduled task. |
scheduleEndDate | Date | null | The end time of the scheduled task. |
nextTaskTime | Date | null | The next execution time of the scheduled task. |
clientType | String | robot_service | |
appName | String | TestAPP1 | The name of the application. |
clientCount | Long | 1 | The number of clients that run the application. |
creatorName | String | ss-test | The account name of the creator. |
creatorNickName | String | super administrator | The nickname of the creator. |
Examples
Request example:
https://console-rpa.aliyun.com/rpa/openapi/task/queryTaskScheduleByClientId?<Common request parameters>
&clientId=5E77DA4EB87BCFB62A8B9527626A47F4
¤tPage=1
&pageSize=1Response example:
{
"requestId":"d2f9fb81-d3de-43c1-8478-1ad2ea14ff6f",
"success":true,
"code":0,
"msg":"The request was successful.",
"msgCode":"result.success",
"data":[
{
"uuid":"9f613945-cb8f-4ed8-8a04-2ffd9d8f0812",
"appId":"fb6a99a1-d8bd-46ee-8bed-2ed9cb5a0c0d",
"name":"SystemAutoTask-TestAPP1-2020-04-26 17:15:41",
"groupId":"b8e097d8-605c-47cf-a5a3-db5d13f8b4ca",
"status":"completion",
"creator":"93bf42a1-6e65-4912-98b2-4d5ec0e6260a",
"scheduleType":"immediate",
"scheduleExpress":null,
"scheduleCron":null,
"scheduleStartDate":null,
"scheduleEndDate":null,
"nextTaskTime":null,
"clientType":"robot_service",
"appName":"TestAPP1",
"clientCount":1,
"creatorName":"ss-test",
"creatorNickName":"super administrator"
}
],
"pager":{
"currentPage":1,
"totalPage":7,
"pageSize":1,
"total":7,
"limit":1,
"offset":0
}
}