Retrieves the details of a schema synchronization ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetStructSyncOrderDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ID of the ticket. |
43**** |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
4E1D2B4D-3E53-4ABC-999D-1D2520B3471A |
| Success |
boolean |
Whether the request was successful. |
true |
| ErrorMessage |
string |
The error message. |
UnknownError |
| ErrorCode |
string |
The error code. |
UnknownError |
| StructSyncOrderDetail |
object |
The details of the schema synchronization ticket. |
|
| SourceDatabaseInfo |
object |
The source database information. |
|
| DbId |
integer |
The ID of the source database. |
432532 |
| SearchName |
string |
The search name of the database. |
test |
| DbType |
string |
The type of the database engine. |
MySQL |
| EnvType |
string |
The environment type of the database instance. For more information, see Change the environment type of an instance. |
dev |
| Logic |
boolean |
Whether the database is a logical database. Valid values:
|
false |
| TargetDatabaseInfo |
object |
The destination database information. |
|
| DbId |
integer |
The ID of the destination database. |
432543 |
| SearchName |
string |
The search name of the database. |
test |
| DbType |
string |
The type of the database engine. |
MySQL |
| EnvType |
string |
The environment type of the database instance. For more information, see Change the environment type of an instance. |
dev |
| Logic |
boolean |
Whether the database is a logical database. Valid values:
|
false |
| SourceType |
string |
The schema version of the source database. Valid values:
|
VERSION |
| SourceVersionInfo |
object |
The version of the source instance. Note
This parameter is displayed only when the value of the SourceType parameter is VERSION. |
|
| VersionId |
string |
The version number. |
e179bbb8163dcdcfacda24858bedb4d8006ae2b8 |
| TargetType |
string |
The schema version of the destination database. Valid values:
|
DATASOURCE |
| TargetVersionInfo |
object |
The version of the destination instance. Note
This parameter is displayed only when the value of the SourceType parameter is VERSION. |
|
| VersionId |
string |
The version number. |
e179bbb8163dcdcfacda24858bedb4d8006ae2b8 |
| TableInfoList |
array<object> |
The tables included in the schema synchronization. |
|
|
object |
A table entry in the schema synchronization. |
||
| SourceTableName |
string |
The name of the source table. |
test_tbl |
| TargetTableName |
string |
The name of the destination table. |
test_tbl |
| IgnoreError |
boolean |
Whether to skip errors during execution. Valid values:
|
false |
Examples
Success response
JSON format
{
"RequestId": "4E1D2B4D-3E53-4ABC-999D-1D2520B3471A",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"StructSyncOrderDetail": {
"SourceDatabaseInfo": {
"DbId": 432532,
"SearchName": "test",
"DbType": "MySQL",
"EnvType": "dev",
"Logic": false
},
"TargetDatabaseInfo": {
"DbId": 432543,
"SearchName": "test",
"DbType": "MySQL",
"EnvType": "dev",
"Logic": false
},
"SourceType": "VERSION",
"SourceVersionInfo": {
"VersionId": "e179bbb8163dcdcfacda24858bedb4d8006ae2b8"
},
"TargetType": "DATASOURCE",
"TargetVersionInfo": {
"VersionId": "e179bbb8163dcdcfacda24858bedb4d8006ae2b8"
},
"TableInfoList": [
{
"SourceTableName": "test_tbl",
"TargetTableName": "test_tbl"
}
],
"IgnoreError": false
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.