調用QuerySensNodeInfo介面查詢資料保護傘的分類分級識別規則。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
dataworks:QuerySensNodeInfo |
list |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| TemplateId |
string |
是 |
分類分級模板 ID。可通過調用 QueryDefaultTemplate 介面擷取。 |
e1970541-6cf5-4d23-b101-d5b**** |
| TenantId |
string |
是 |
租戶 ID。您可登入 DataWorks 控制台,進入資料開發(DataStudio)頁面,單擊右上方當前登入使用者名稱稱,選擇菜單 > 使用者資訊,擷取租戶 ID。 |
10241024 |
| NodeId |
string |
否 |
分類分級節點 ID。可通過調用 QuerySensClassification 介面擷取,或登入 DataWorks 控制台,進入資料保護傘介面直接擷取。 |
0ce67949-0810-400f-a24a-cc5ffafe1024 |
| SensitiveName |
string |
否 |
敏感欄位名稱。您可登入 DataWorks 控制台,進入資料保護傘介面直接擷取。 |
ID card |
| PageNo |
integer |
否 |
分頁查詢頁碼數。取值:從 1 開始。 |
1 |
| PageSize |
integer |
否 |
分頁查詢每頁顯示的條數。取值:10~1000,建議大小為 10~100。 |
10 |
| status |
integer |
否 |
敏感欄位的狀態。取值如下:
|
0 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回資料。 |
||
| Success |
boolean |
調用是否成功。
|
true |
| ErrorCode |
string |
錯誤碼。 |
9990030003 |
| ErrorMessage |
string |
錯誤資訊。 |
Missing parameter |
| HttpStatusCode |
integer |
HTTP 狀態代碼。 |
200 |
| Data |
any |
返回的 JSON 格式業務資料。 |
{"success": true, "httpStatusCode": 200, "data": { "result": [ { "sensitiveName": "certificate expiration date", "sensitiveId": "fd4ff5a2-9537-43d1-8e4f-1d0b5ffaac12", "status": 0, "templateName": "built-in classification and grading template", "keyRuleId": "228248921215042 certificate expiration date"} ], "totalCount": 1, "currentPage": 1, "pageSize": 10 }, "requestId": 10000001} |
| RequestId |
string |
請求 ID,一次請求的唯一標識。 |
10000001 |
樣本
正常返回樣本
JSON格式
{
"Success": true,
"ErrorCode": "9990030003",
"ErrorMessage": "Missing parameter",
"HttpStatusCode": 200,
"Data": "{\"success\": true, \"httpStatusCode\": 200, \"data\": { \"result\": [ { \"sensitiveName\": \"certificate expiration date\", \"sensitiveId\": \"fd4ff5a2-9537-43d1-8e4f-1d0b5ffaac12\", \"status\": 0, \"templateName\": \"built-in classification and grading template\", \"keyRuleId\": \"228248921215042 certificate expiration date\"} ], \"totalCount\": 1, \"currentPage\": 1, \"pageSize\": 10 }, \"requestId\": 10000001}",
"RequestId": "10000001"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | BADPARAMETERS | Parameters are missing or in the wrong format. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。