Retrieves information about a task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:GetTask |
get |
*BPStudioVirtual
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
No |
The ID of the task. |
2615 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
A07FFDF2-78FA-1B48-9E38-88E833A93187 |
| Message |
string |
The error message. |
Success |
| Data |
object |
The details of the task. |
|
| Id |
integer |
The ID of the task. |
1333 |
| Name |
string |
The name of the task. |
test_name |
| ProcessId |
string |
The flow ID. |
64QQBC02**FA3W3G |
| AppId |
string |
The application ID. |
JXT**LZJ568665D6 |
| InstanceIds |
string |
The ID of the attached application. |
{\"app\":\"JJXT**LZJ568665D6\"} |
| ErrorMessage |
string |
The error message. |
SyntaxError |
| Status |
string |
FINISH: The task is complete. |
FINISH |
| GmtCreate |
string |
The time when the task was created. |
2025-08-21 14:07:02 |
| Code |
integer |
The return code. |
200 |
Examples
Success response
JSON format
{
"RequestId": "A07FFDF2-78FA-1B48-9E38-88E833A93187",
"Message": "Success",
"Data": {
"Id": 1333,
"Name": "test_name",
"ProcessId": "64QQBC02**FA3W3G",
"AppId": "JXT**LZJ568665D6",
"InstanceIds": "{\\\"app\\\":\\\"JJXT**LZJ568665D6\\\"}",
"ErrorMessage": "SyntaxError",
"Status": "FINISH ",
"GmtCreate": "2025-08-21 14:07:02"
},
"Code": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | NoPermissions | No permissions. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.