PUT/directory/profile-statuses/{profileStatusId}
상태 정보를 수정한다.
기본 상태(BUSY, AWAY, LEAVE_OFFICE, ABSENCE)는 useDefaultStatus, enableSettingByUser, displayOrder 만 수정이 가능하다.
기본 상태에 그 외의 값들은 반영되지 않는다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
directory
| Parameter | Type | Description |
|---|---|---|
| profileStatusId | string | 상태 ID required Allowed values : BUSY, AWAY, LEAVE_OFFICE, ABSENCE, CUSTOM01, CUSTOM02, CUSTOM03, CUSTOM04, CUSTOM05, CUSTOM06, CUSTOM07, CUSTOM08, CUSTOM09, CUSTOM10, CUSTOM11, CUSTOM12 example : BUSY |
| 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 |
| Property | Type | Description |
|---|---|---|
| name | string | 다국어 이름 required maxLength : 20 |
| language | string | 다국어 언어 코드 required Allowed values : ko_KR, ja_JP, 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": 113}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 : ko_KR, ja_JP, 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