18) Document Security Level Inquiry
Check Document Security Level
API
| Method | URL |
|---|---|
| POST | /api/get/customProperties/securityLevel |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| licenseKey | required | string | Enter the issued license in the integration app management menu of the SHIELDRM admin page. |
| srcFilePath | required | string | Document path to query |
Response
| Name | Type | Description |
|---|---|---|
| code | int | 0 : Success Other values: Error |
| scLabelId | string | Label ID (data that needs to be entered when editing document security levels) |
| scLabelName | string | Label Name |
| scSecurityLevelId | string | Classification grade ID (a higher concept of label) |
| scSecurityLevelName | string | Grade Name |
| message | string | Error message on failure |
Examples
Request
- Body
{
"licenseKey": "EFBB-029BD-F155-7F13E",
"srcFilePath": "/opt/shieldrm/data/test.xlsx"
}
Response
- success
{
"code": 0,
"scLabelId": "yoGSZ4pU-hLreQwr6-bk2Bl9aL-DvQ6sfKw",
"scLabelName": "Classified",
"scSecurityLevelId": "GgcoNPBJ-iN4WXGCm-s3YN6moy-4an7Nzx7",
"scSecurityLevelName": "C"
}
[scLabelId 설정되지 않음]
{
"code": 0,
"message": "The scLabelId setting is not configured."
}
- failure
- Status code : 401 Unauthorized
[라이선스 검증 실패]
{
"code": 40101,
"message": "{\"code\":40107,\"message\":\"No matching license found\",\"detail\":\"License skms_connector_info information is empty.\"}"
}