Retrieves the details of a database export ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDatabaseExportOrderDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic. |
3*** |
| OrderId |
integer |
Yes |
The ticket ID. You can call the ListOrders operation to obtain the ticket ID. |
821**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which can be used to query logs and troubleshoot issues. |
CFD8FE00-36D9-4C1B-940D-65A7B73D9066 |
| DatabaseExportOrderDetail |
object |
The details of the database export ticket. |
|
| Id |
integer |
The ticket ID. |
821**** |
| Committer |
string |
The user who submitted the ticket. |
dmsuser |
| CommitterId |
string |
The ID of the user who submitted the ticket. This is a DMS user ID, not an Alibaba Cloud account ID. |
12*** |
| Comment |
string |
The business background of the database export ticket. |
test |
| SearchName |
string |
The name used to search for the database. |
test@xxx.xxx.xxx.xxx:3306 |
| StatusDesc |
string |
The status description of the ticket. |
Ticket approval in progress. |
| WorkflowStatusDesc |
string |
The status description of the workflow. |
Ticket approval in progress. |
| KeyInfo |
object |
The key information about the ticket. |
|
| DbId |
integer |
The database ID. |
2583**** |
| DownloadURL |
string |
The URL for downloading the export result. |
https://oss.xxx.com |
| AuditDate |
string |
The time when the ticket was submitted. |
2023-04-13 13:44:59 |
| Config |
object |
The configuration of the ticket. |
|
| DbName |
string |
The database name. |
dmstest |
| ExportContent |
string |
The type of data that was exported. Valid values:
|
DATA |
| TargetOption |
string |
The export format. Valid values:
|
SQL |
| ExportTypes |
object |
||
| ExportTypes |
array |
The type of schema that was exported. |
|
|
string |
Valid values:
|
PROCEDURE |
|
| SelectedTables |
object |
||
| SelectedTables |
array |
The tables that were exported from the database. |
|
|
string |
The table name. |
user_test |
|
| SQLExtOption |
object |
||
| SQLExtOption |
array |
The extension options of the SQL script. |
|
|
string |
Valid values:
|
DROP |
|
| Log |
string |
The execution logs. |
2023-04-12 14:58:32:015 Database Dump Start. 2023-04-12 14:58:32:096 set server side query timeout, sql : set max_execution_time = 0 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "CFD8FE00-36D9-4C1B-940D-65A7B73D9066",
"DatabaseExportOrderDetail": {
"Id": 0,
"Committer": "dmsuser",
"CommitterId": "12***",
"Comment": "test",
"SearchName": "test@xxx.xxx.xxx.xxx:3306",
"StatusDesc": "Ticket approval in progress.",
"WorkflowStatusDesc": "Ticket approval in progress.",
"KeyInfo": {
"DbId": 0,
"DownloadURL": "https://oss.xxx.com",
"AuditDate": "2023-04-13 13:44:59",
"Config": {
"DbName": "dmstest",
"ExportContent": "DATA",
"TargetOption": "SQL",
"ExportTypes": {
"ExportTypes": [
"PROCEDURE"
]
},
"SelectedTables": {
"SelectedTables": [
"user_test"
]
},
"SQLExtOption": {
"SQLExtOption": [
"DROP"
]
}
}
},
"Log": "2023-04-12 14:58:32:015 Database Dump Start.\n2023-04-12 14:58:32:096 set server side query timeout, sql : set max_execution_time = 0"
},
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.