queryServiceResult

更新时间:
复制 MD 格式

Endpoint: console-rpa.aliyun.com/rpa/openapi/task/queryServiceResult

Request method: GET

Response format: JSON

Description: Queries the execution result of a task. The task result is user-defined. To use this feature, call the rpa.console.workbench.task_result method in the Robotic Process Automation (RPA) editor during application development to upload a custom task result. For more information, see task_result.

Warning

The task_result method has certain limits. For more information, see task_result.

Request parameters

Name

Type

Required

Example

Description

taskId

String

Yes

3226a05a-98b9-4d48-8529-b8fb7e4561c6

The unique identifier of the task.

Response parameters

For information about common response parameters, see Response parameters. The following table describes the data field.

Name

Type

Example

Description

result

String

fdce05eb-41a4-4fae-a95b-baeb7c34c9dc

The details of the request result.

Examples

Request example:

https://console-rpa.aliyun.com/rpa/openapi/task/queryServiceResult?<Common request parameters>
&taskId=3226a05a-98b9-4d48-8529-b8fb7e4561c6

Response example:

{
    "requestId":"fdce05eb-41a4-4fae-a95b-baeb7c34c9dc",
    "success":true,
    "code":0,
    "msg":"The call is successful.",
    "msgCode":"result.success",
    "data":"{"result": "ok"}",
    "pager":null
}

Note: Special characters in the data field of the response, such as +, /, ?, %, #, &, =, single quotation marks ('), double quotation marks ("), and spaces, are escaped.