GetJobStatus
Returns the status of an asynchronous task. After calling an asynchronous API, poll this API to obtain the success status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:GetJobStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
Yes |
The task ID returned after calling an asynchronous API. |
70ecdaec-bf21-4c11-8ecb-4f77453ceea8 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
5E2BFE96-C0E0-5A98-85C8-633EC803198D |
| JobStatus |
object |
The real-time result of the task status. |
|
| JobId |
string |
The asynchronous task ID. |
C664CDE3-9C0B-5792-B17F-6C543783BBBC |
| JobType |
string |
The task type.
|
Create |
| Completed |
string |
Indicates whether the operation is complete. Valid values:
|
False |
| Status |
string |
The task status. Valid values:
|
Success |
| Error |
string |
The task failure information. |
Not Found |
| CreateTime |
string |
The creation time. The value is a 13-digit number, such as |
1729063449802 |
Examples
Success response
JSON format
{
"RequestId": "5E2BFE96-C0E0-5A98-85C8-633EC803198D",
"JobStatus": {
"JobId": "C664CDE3-9C0B-5792-B17F-6C543783BBBC",
"JobType": "Create",
"Completed": "False",
"Status": "Success",
"Error": "Not Found",
"CreateTime": "1729063449802"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.