GetTaskStatusById
Updated at:
Queries the execution status of a task by task ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
advisor:GetTaskStatusById |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
Yes |
The ID of the task to query. |
95906135 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
566331F9-5AB3-550F-B745-A730331F97A9 |
| Data |
object |
The response data. |
|
| TaskId |
integer |
The task ID. |
95906135 |
| TaskStatus |
integer |
The task status. Valid values:
|
1 |
Examples
Success response
JSON format
{
"RequestId": "566331F9-5AB3-550F-B745-A730331F97A9\n",
"Data": {
"TaskId": 95906135,
"TaskStatus": 1
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | Forbidden.RAM | The user is not authorized to operate on the specified resource, or this API does not support RAM. | |
| 403 | Forbidden.NotActivated | User has not activated Advisor Service. | The user has not opened the Advisor product. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?