Queries the progress of a migration task.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The workspace ID. You can obtain the ID on the Workspace page of the DataWorks console. |
123456 |
| MigrationId |
integer |
Yes |
The migration package ID. You can obtain the ID by calling the CreateImportMigration operation. |
123456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
SADFSDFSD-SDFSDF-XDXCVX-ESWW |
| ErrorMessage |
string |
The error message. |
test error msg |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| ErrorCode |
string |
The error code. |
110001123456 |
| Data |
array<object> |
The progress information of the migration task, including the step names and status. |
|
|
object |
|||
| TaskStatus |
string |
The status of the migration step. Valid values:
|
SUCCESS |
| TaskName |
string |
The name of the step in the migration task. |
IMPORE_PREPARE |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "SADFSDFSD-SDFSDF-XDXCVX-ESWW",
"ErrorMessage": "test error msg",
"Success": true,
"ErrorCode": "110001123456",
"Data": [
{
"TaskStatus": "SUCCESS",
"TaskName": "IMPORE_PREPARE"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.