GET/directory/users/custom-properties
ユーザーカスタムプロパティリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
directory.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID example : 10000001 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| customAttributes | 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 | 表示順位 (重複許可) required minimum : 1 format : int32 nullable : true |
| multiValued | boolean | 複数値の許可 required default : false |
| options | array (UserCustomPropertyOption) | 選択肢リスト 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 : ja_JP, ko_KR, 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 "customAttributes": [3 {4 "domainId": 10000001,5 "customPropertyId": "customfd-fc09-4a57-ab38-03dc6c425e01",6 "propertyName": "string_single_option",7 "displayName": "趣味",8 "i18nDisplayNames": [9 {10 "language": "ja_JP",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