POST/directory/profile-statuses
ユーザープロフィールのステータスを登録する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| domainId | integer | ドメイン ID required format : int32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| iconType | string | アイコンタイプ
required Allowed values : BUSY, URGENT, FOCUS_MODE, PHONE, MEETING, AWAY, BACK_SOON, EATING, TEA_TIME, AT_HOME, AT_OFFICE, EDUCATION, WORKING_OUTSIDE, BUSINESS_TRIP, OFF, HALF_DAY, VACATION, ABSENCE, SICK_LEAVE, LEAVE_OF_ABSENCE, ACTION, ONLINE | ||||||||||||||||||||||||||||||||||||||||||||||||
| useDefaultStatus | boolean | 基本ステータスの利用フラグ
default : true | ||||||||||||||||||||||||||||||||||||||||||||||||
| enableSettingByUser | boolean | ユーザーによるステータス指定許可フラグ default : true | ||||||||||||||||||||||||||||||||||||||||||||||||
| profileStatusName | string | ステータス名
required maxLength : 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| i18nNames | array (i18nName) | 多国語名
minItems : 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| displayOrder | integer | ステータスの表示順
required minimum : 1 format : int32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| profileStatusId | string | ステータス ID Allowed values : CUSTOM01, CUSTOM02, CUSTOM03, CUSTOM04, CUSTOM05, CUSTOM06, CUSTOM07, CUSTOM08, CUSTOM09, CUSTOM10, CUSTOM11, CUSTOM12 |
| Property | Type | Description |
|---|---|---|
| name | string | 多国語名 required maxLength : 20 |
| language | string | 多言語コード required Allowed values : ja_JP, ko_KR, en_US, zh_CN, zh_TW |
example
1{2 "domainId": 10000001,3 "iconType": "TEA_TIME",4 "enableSettingByUser": true,5 "profileStatusName": "ティータイム",6 "i18nNames": [7 {8 "name": "TEA TIME",9 "language": "en_US"10 }11 ],12 "displayOrder": 1,13 "profileStatusId": "CUSTOM01"14}OK
| Property | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| domainId | integer | ドメイン ID required format : int32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| profileStatusId | string | ステータス ID
required Allowed values : BUSY, AWAY, LEAVE_OFFICE, ABSENCE, CUSTOM01, CUSTOM02, CUSTOM03, CUSTOM04, CUSTOM05, CUSTOM06, CUSTOM07, CUSTOM08, CUSTOM09, CUSTOM10, CUSTOM11, CUSTOM12 | ||||||||||||||||||||||||||||||||||||||||||||||||
| iconType | string | アイコンタイプ
required Allowed values : BUSY, URGENT, FOCUS_MODE, PHONE, MEETING, AWAY, BACK_SOON, EATING, TEA_TIME, AT_HOME, AT_OFFICE, EDUCATION, WORKING_OUTSIDE, BUSINESS_TRIP, OFF, HALF_DAY, VACATION, ABSENCE, SICK_LEAVE, LEAVE_OF_ABSENCE, ACTION, ONLINE | ||||||||||||||||||||||||||||||||||||||||||||||||
| useDefaultStatus | boolean | 基本ステータスの利用フラグ
default : true | ||||||||||||||||||||||||||||||||||||||||||||||||
| enableSettingByUser | boolean | ユーザーによるステータス指定許可フラグ default : true | ||||||||||||||||||||||||||||||||||||||||||||||||
| profileStatusName | string | ステータス名
required maxLength : 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| i18nNames | array (i18nName) | 多国語名
minItems : 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| displayOrder | integer | ステータスの表示順
required minimum : 1 format : int32 |
| Property | Type | Description |
|---|---|---|
| name | string | 多国語名 required maxLength : 20 |
| language | string | 多言語コード required Allowed values : ja_JP, ko_KR, en_US, zh_CN, zh_TW |
example
1{2 "domainId": 10000001,3 "profileStatusId": "CUSTOM01",4 "iconType": "TEA_TIME",5 "useDefaultStatus": true,6 "enableSettingByUser": true,7 "profileStatusName": "ティータイム",8 "i18nNames": [9 {10 "name": "TEA TIME",11 "language": "en_US"12 }13 ],14 "displayOrder": 115}Forbidden
Conflict