QuerySensClassification
Queries the classification nodes in the data classification and grading feature of Data Security Guard.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:QuerySensClassification |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
Yes |
The ID of the template defined by Data Security Guard. You can obtain the ID by calling the QueryDefaultTemplate operation. The QueryDefaultTemplate operation may return an empty array. In this case, view the ID of the configured data classification and grading template in the Data Security Guard console, or contact the DataWorks administrator for confirmation. |
e1970541-6cf5-4d23-b101-d5b66**** |
| TenantId |
string |
Yes |
The tenant ID. You can log on to the DataWorks console, go to the Data Studio page, click the username in the upper-right corner, and choose Menu > User Info to obtain the tenant ID. |
10241024 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| Success |
boolean |
Indicates whether the call is successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
9990030003 |
| ErrorMessage |
string |
The error message. |
Missing parameter |
| HttpStatusCode |
integer |
The HTTP status code. |
400 |
| Data |
any |
The information about the classification nodes in the data classification and grading feature of Data Security Guard. The value is in JSON format. |
[{ "nodeName": "teset1", "sensitiveNotNull": true, "nodeId": "1aac2e35-b437-486b-95c7-a5ae48371024", "nodeOldId": "1aac2e35-b437-486b-95c7-a5ae48371024", "parentId": "0" }] |
| RequestId |
string |
The request ID, which uniquely identifies the request. |
10000001 |
Examples
Success response
JSON format
{
"Success": true,
"ErrorCode": "9990030003",
"ErrorMessage": "Missing parameter",
"HttpStatusCode": 400,
"Data": "[{ \"nodeName\": \"teset1\", \"sensitiveNotNull\": true, \"nodeId\": \"1aac2e35-b437-486b-95c7-a5ae48371024\", \"nodeOldId\": \"1aac2e35-b437-486b-95c7-a5ae48371024\", \"parentId\": \"0\" }]",
"RequestId": "10000001"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BADPARAMETERS | Parameters are missing or in the wrong format. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.