Mengkueri detail tiket untuk mengekspor set hasil SQL.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDataExportOrderDetail |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
ID penyewa. Catatan
Untuk mendapatkan ID penyewa, arahkan kursor ke foto profil di sudut kanan atas Konsol DMS. Untuk informasi lebih lanjut, lihat Tampilan informasi tentang penyewa saat ini. |
3*** |
| OrderId |
integer |
Yes |
ID tiket. Anda dapat memanggil operasi ListOrders untuk mendapatkan ID tiket. |
818**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D |
| DataExportOrderDetail |
object |
Detail tiket ekspor set hasil SQL. |
|
| KeyInfo |
object |
Informasi status. |
|
| PreCheckId |
integer |
The precheck ID. |
6393**** |
| JobStatus |
string |
The state of the data export ticket. Valid values:
|
EXPORT_SUCCESS |
| JobId |
integer |
Export task ID. |
1385**** |
| OrderDetail |
object |
Detail tiket. |
|
| 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 |
Kode kesalahan. |
UnknownError |
| ErrorMessage |
string |
Paket kesalahan. |
UnknownError |
| Success |
boolean |
Apakah permintaan berhasil. Nilai valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"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
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.