Queries the progress of a migration task.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetMigrationProcess

The operation that you want to perform.

MigrationId Long Yes 123456

The ID of the migration package. You can call the CreateImportMigration operation to query the ID.

ProjectId Long Yes 123456

The ID of the workspace. You can go to the Workspace Management page of the DataWorks console to view the ID.

RegionId String Yes cn-shanghai-finance-1

The region ID. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint used to call the operation.

Response parameters

Parameter Type Example Description
Data Array of ProgressTaskItem

The progress information of the migration task, including the names of all steps in and status of the migration task.


The name of the step in the migration task.

TaskStatus String SUCCESS

The running status of the step in the migration task. Valid values:

  • INT
ErrorCode String 110001123456

The error code returned.

ErrorMessage String test error msg

The error message returned.

HttpStatusCode Integer 200

The HTTP status code returned.


The ID of the request.

Success Boolean true

Indicates whether the request is successful.


Sample requests

&<Common request parameters>

Sample success responses

XML format

<ErrorMessage>test error msg</ErrorMessage>

JSON format

    "HttpStatusCode": 200,
    "Data": {
        "TaskName": "IMPORE_PREPARE",
        "TaskStatus": "SUCCESS"
    "ErrorCode": 110001123456,
    "ErrorMessage": "test error msg",
    "Success": true

Error codes

For a list of error codes, visit the API Error Center.