Queries the details of a data export ticket.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDataExportOrderDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| 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. |
3*** |
| OrderId |
integer |
Yes |
The ticket ID. You can call the ListOrders operation to query the ticket ID. |
818**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D |
| DataExportOrderDetail |
object |
The information about the data export ticket. |
|
| KeyInfo |
object |
The status information. |
|
| PreCheckId |
integer |
The precheck ID. |
6393**** |
| JobStatus |
string |
The state of the data export ticket. Valid values:
|
EXPORT_SUCCESS |
| JobId |
integer |
The export task ID. |
1385**** |
| OrderDetail |
object |
The details of the ticket. |
|
| DbId |
integer |
The ID of the database from which data was exported. |
3733**** |
| Database |
string |
The name of the database from which data was exported. |
xxx@xxx:3306 |
| Classify |
string |
The category of the reason for the data export. |
text |
| ExeSQL |
string |
The SQL statement that was executed to export data. |
SELECT * FROM DMS_test LIMIT 20; |
| Logic |
boolean |
Indicates whether the database is a logical database. |
false |
| ActualAffectRows |
integer |
The number of rows that were affected by the SQL statement. |
1 |
| IgnoreAffectRows |
boolean |
Indicates whether the affected rows are skipped. |
false |
| IgnoreAffectRowsReason |
string |
The reason why the affected rows are skipped. |
empty |
| EnvType |
string |
The type of the environment to which the database belongs. |
test |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D",
"DataExportOrderDetail": {
"KeyInfo": {
"PreCheckId": 0,
"JobStatus": "EXPORT_SUCCESS",
"JobId": 0
},
"OrderDetail": {
"DbId": 0,
"Database": "xxx@xxx:3306",
"Classify": "text",
"ExeSQL": "SELECT * FROM DMS_test\n LIMIT 20;",
"Logic": false,
"ActualAffectRows": 1,
"IgnoreAffectRows": false,
"IgnoreAffectRowsReason": "empty",
"EnvType": "test"
}
},
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.