18) 文書セキュリティグレードの照会
文書のセキュリティグレードの照会
API
| Method | URL |
|---|---|
| POST | /api/internal/get/customProperties/securityLevel |
Request Header
| Name | Required | Description |
|---|---|---|
| Authorization | required | ユーザー認証手段、JWT値 Authorization: Bearer {JWT}参考 : JWT値は認証/認可サービスを通じて発行されます。 |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| companyId | required | string | 対象文書を使用する会社ID |
| srcFilePath | required | string | 文書の参照パス |
Response
| Name | Type | Description |
|---|---|---|
| code | int | 0 : 成功 それ以外の値 : エラー |
| scLabelId | string | ラベルID(文書セキュリティレベル編集時に入力する必要があるデータ) |
| scLabelName | string | ラベル名 |
| scSecurityLevelId | string | グレードID(ラベルの上位概念である分類グレードID) |
| scSecurityLevelName | string | ランク名 |
| message | string | 失敗時のエラーメッセージ |
Examples
Request
- Body
{
"companyId": "3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq",
"srcFilePath": "/opt/shieldrm/data/test.xlsx"
}
Response
- 成功
{
"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."
}
- 失敗
- Status code : 500 INTERNAL_SERVER_ERROR
[토큰 검증 실패]
{
"code": 50001,
"message": "401 : \"{\"code\":40101,\"message\":\"Invalid token\",\"detail\":\"invalid_token\"}\""
}