GET/directory/users/custom-properties
도메인의 구성원 커스텀 속성을 모두 조회한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
directory
directory.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | 도메인 ID example : 10000001 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| customProperties | array (UserCustomProperty) | 도메인 구성원 커스텀 속성 정보 |
| Property | Type | Description |
|---|---|---|
| domainId | integer | 도메인 ID required format : int32 |
| customPropertyId | string | 커스텀 속성 ID. 자동으로 부여되는 값 readOnly : true |
| propertyName | string | 커스텀 속성명 required maxLength : 120 |
| displayName | string | 커스텀 속성 표시명 required maxLength : 20 |
| i18nDisplayNames | array (I18nDisplayName) | 커스텀 속성 표시명 다국어 이름 목록 minItems : 0 |
| propertyType | string | 커스텀 속성 타입
required Allowed values : STRING, LINK, INTEGER, DATE |
| displayOrder | integer | 정렬 순서 중복이 허용되며 상대 비교를 통해 오름차순으로 정렬된다. 값을 입력하지 않으면(NULL) 마지막 위치로 지정된다. required minimum : 1 format : int32 nullable : true |
| multiValued | boolean | 동일 커스텀 속성을 여러 건 등록할 수 있는지 여부. required default : false |
| options | array (UserCustomPropertyOption) | propertyType 이 STRING일 때 옵션 목록 minItems : 2 |
| mandatory | boolean | 필수 여부 required default : false |
| readAccessType | string | 읽기 가능 타입 required default : ALL Allowed values : ADMIN_AND_SELF, ALL |
| writeAccessType | string | 수정 가능 타입 required default : ADMIN Allowed values : ADMIN, ADMIN_AND_SELF |
| Property | Type | Description |
|---|---|---|
| language | string | 다국어 언어 코드 Allowed values : ko_KR, ja_JP, zh_CN, zh_TW, en_US |
| name | string | 다국어 이름 maxLength : 20 |
| Property | Type | Description |
|---|---|---|
| optionName | string | 옵션명 maxLength : 100 |
| displayName | string | 옵션 표시명 maxLength : 20 |
| i18nDisplayNames | array (I18nDisplayName) | 옵션 표시명 다국어 이름 목록 minItems : 0 |
example
1{2 "customProperties": [3 {4 "domainId": 10000001,5 "customPropertyId": "customfd-fc09-4a57-ab38-03dc6c425e01",6 "propertyName": "string_single_option",7 "displayName": "취미",8 "i18nDisplayNames": [9 {10 "language": "ko_KR",11 "name": "취미"12 },13 {14 "language": "en_US",15 "name": "hobby"16 }17 ],18 "propertyType": "STRING",19 "displayOrder": 1,20 "multiValued": false,21 "options": [22 {23 "optionName": "option_piano",24 "displayName": "피아노"25 },26 {27 "optionName": "option_cooking",28 "displayName": "요리"29 }30 ],31 "mandatory": false,32 "readAccessType": "ALL",33 "writeAccessType": "ADMIN_AND_SELF"34 },35 {36 "domainId": 10000001,37 "customPropertyId": "customfd-fc09-4a57-ab38-03dc6c425e02",38 "propertyName": "date_multi",39 "displayName": "휴일",40 "propertyType": "DATE",41 "displayOrder": 2,42 "multiValued": true,43 "mandatory": false,44 "readAccessType": "ALL",45 "writeAccessType": "ADMIN_AND_SELF"46 }47 ]48}Not Found