Mengkueri templat kategori data dan tingkat sensitivitas data default yang ditentukan oleh Data Security Guard.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:QueryDefaultTemplate |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TenantId |
string |
Yes |
ID penyewa. Untuk mendapatkan ID penyewa, masuk ke Konsol DataWorks, cari ruang kerja Anda, lalu buka halaman DataStudio. Di halaman DataStudio, klik nama pengguna login di pojok kanan atas, lalu klik User Info di bagian Menu. |
10241024 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
9990030003 |
| ErrorMessage |
string |
The error message. |
Parameter error |
| HttpStatusCode |
integer |
The HTTP status code. |
400 |
| Data |
any |
The returned data about the default data category and data sensitivity level template. The data is in the JSON array format. |
[{"gmtModified":1709022365000,"fileName":"default file","isDelete":false,"isDefaultTemplate":true}] |
| RequestId |
string |
The request ID. You can locate logs and troubleshoot issues based on the ID. |
102400001 |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"ErrorCode": "9990030003",
"ErrorMessage": "Parameter error",
"HttpStatusCode": 400,
"Data": "[{\"gmtModified\":1709022365000,\"fileName\":\"default file\",\"isDelete\":false,\"isDefaultTemplate\":true}]",
"RequestId": "102400001"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BADPARAMETERS | Parameters are missing or in the wrong format. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.