Queries classification nodes in 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 Data Security Guard template ID. Call QueryDefaultTemplate to obtain this ID. |
e1970541-6cf5-4d23-b101-d5b66f6e1024 |
| TenantId |
string |
Yes |
The tenant ID. To obtain it, log on to the DataWorks console, go to the DataStudio page, and click your username in the upper-right corner > User Info. |
10241024 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Success |
boolean |
Indicates whether the request was 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 classification category data 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. |
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.