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
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request body for creating the migration report. | |
| CreateReport | CreateReportInfo | No | The details for creating the migration report. |
Response 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.