GET/directory/levels/external-keys
직급 외부 키 목록을 조회한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
directory
directory.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | 도메인 ID example : 10000001 format : int32 |
| count | integer | 조회 개수 default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | 커서값 example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| hasExternalKey | boolean | externalKey 여부로 필터링
example : false |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| levels | array (DomainUniqueExternalKeyResponse) | 직급 정보 |
| responseMetaData | object (responseMetaData) | 응답 메타데이터 |
| Property | Type | Description |
|---|---|---|
| domainId | integer | 도메인 ID format : int32 readOnly : true |
| name | string | 이름 readOnly : true |
| id | string | ID. 조회 시 리소스에 자동 부여된 ID가 반환된다. readOnly : true |
| externalKey | string | 고객사에서 관리하는 외부 키. readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 다음 목록 조회 시 사용하는 커서값 |
example
1{2 "levels": [3 {4 "domainId": 10000001,5 "name": "name01",6 "id": "levelaa7-b824-4937-66af-042f1f43cefa",7 "externalKey": "LEVEL_EXT_01"8 },9 {10 "domainId": 10000001,11 "name": "name02",12 "id": "leveld4d-1b15-450f-b674-e6a3338fe25b",13 "externalKey": "LEVEL_EXT_02"14 }15 ],16 "responseMetaData": {17 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="18 }19}