All Products
Search
Document Center

Data Online Migration:CreateReport

Last Updated:Jun 16, 2025

Creates a migration report.

Operation description

  • To create a migration report, you must have the permission on mgw:CreateImportReport.
  • If you specify that a migration report is to be generated when you create a migration task, you do not need to call this operation. If you do not specify that a migration report is to be generated when you create a migration task, you can call this operation to create a migration report for an execution with the specified ID.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /report HTTP/1.1 Host: userid.cn-hangzhou.mgw.aliyuncs.com <?xml version="1.0" encoding="UTF-8"?> <CreateReport> <JobName>string</JobName> <Version>string</Version> <RuntimeId>integer</RuntimeId> </CreateReport>

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request body for creating the migration report.

CreateReportCreateReportInfoNo

The details for creating the migration report.

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

XMLformat

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root/>

Error codes

For a list of error codes, visit the Service error codes.