All Products
Search
Document Center

DataWorks:GetMigrationProcess

Last Updated:Aug 28, 2026

Queries the progress of a migration task.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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:

  • INIT

  • RUNNING

  • FAILURE

  • SUCCESS

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.