GET/directory/profile-statuses
Gets a list of status values.
A domain can have up to 10 status values, all of which are returned at once.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
directory
directory.read
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID example : 10000001 format : int32 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| profileStatuses | array (ProfileStatus) | Status information |
| Property | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| domainId | integer | Domain ID required format : int32 | ||||||||||||||||||||||||||||||||||||||||||||||||
| profileStatusId | string | Status ID.
required Allowed values : BUSY, AWAY, LEAVE_OFFICE, ABSENCE, CUSTOM01, CUSTOM02, CUSTOM03, CUSTOM04, CUSTOM05, CUSTOM06, CUSTOM07, CUSTOM08, CUSTOM09, CUSTOM10, CUSTOM11, CUSTOM12 | ||||||||||||||||||||||||||||||||||||||||||||||||
| iconType | string | Icon type
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 | Indicates whether to use the default status values.
default : true | ||||||||||||||||||||||||||||||||||||||||||||||||
| enableSettingByUser | boolean | Indicates whether to allow users to set their status. default : true | ||||||||||||||||||||||||||||||||||||||||||||||||
| profileStatusName | string | Status name
required maxLength : 20 | ||||||||||||||||||||||||||||||||||||||||||||||||
| i18nNames | array (i18nName) | Multilingual name
minItems : 0 | ||||||||||||||||||||||||||||||||||||||||||||||||
| displayOrder | integer | Display order
required minimum : 1 format : int32 |
| Property | Type | Description |
|---|---|---|
| name | string | Multilingual name required maxLength : 20 |
| language | string | Language code required Allowed values : ko_KR, ja_JP, en_US, zh_CN, zh_TW |
example
1{2 "profileStatuses": [3 {4 "domainId": 10000001,5 "profileStatusId": "BUSY",6 "iconType": "BUSY",7 "useDefaultStatus": false,8 "enableSettingByUser": false,9 "profileStatusName": "Busy",10 "i18nNames": [11 {12 "name": "BUSY",13 "language": "en_US"14 }15 ],16 "displayOrder": 117 },18 {19 "domainId": 10000001,20 "profileStatusId": "CUSTOM01",21 "iconType": "TEA_TIME",22 "useDefaultStatus": true,23 "enableSettingByUser": false,24 "profileStatusName": "Tea time",25 "i18nNames": [26 {27 "name": "TEA TIME",28 "language": "en_US"29 }30 ],31 "displayOrder": 232 }33 ]34}Forbidden