StartMigration
Starts a migration task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The workspace ID. You can log on to the DataWorks console and go to the Workspace page to obtain the workspace ID. |
123456 |
| MigrationId |
integer |
Yes |
The migration package ID. You can call the CreateImportMigration operation to query the ID of the import package and call the CreateExportMigration operation to query the ID of the export package. |
123456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
boolean |
Indicates whether the migration task is started. Valid values:
|
true |
| ErrorMessage |
string |
The error message. |
test error msg |
| RequestId |
string |
The request ID. |
FSDFSDF-WERWER-XVCX-DSFSDF |
| ErrorCode |
string |
The error code. |
110001123445 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": true,
"ErrorMessage": "test error msg",
"RequestId": "FSDFSDF-WERWER-XVCX-DSFSDF",
"ErrorCode": "110001123445",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.