PATCH/directory/positions/{positionId}
役職を部分更新する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
| Parameter | Type | Description |
|---|---|---|
| positionId | string | 役職を特定する ID (URL エンコードする)
required example : position-7027-4a02-b838-6f52b5e38db7 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
Patch user properties to update.
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID format : int32 |
| displayOrder | integer | 表示順位 (重複許可) format : int32 |
| positionName | string | 役職名 maxLength : 100 |
| positionExternalKey | string | 役職の ExternalKey maxLength : 100 nullable : true |
| i18nNames | array (I18nName) | 多国語名リスト |
| Property | Type | Description |
|---|---|---|
| name | string | 多国語表示名 required minLength : 1 maxLength : 100 |
| language | string | 多国語言語コード required Allowed values : ja_JP, ko_KR, en_US, zh_CN, zh_TW |
example
1{2 "domainId": 10000001,3 "displayOrder": 2,4 "positionName": "社員",5 "i18nNames": [6 {7 "name": "Staff",8 "language": "en_US"9 }10 ]11}OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID required format : int32 |
| positionId | string | 役職ID
readOnly : true |
| displayOrder | integer | 表示順位 (重複許可) required format : int32 |
| positionName | string | 役職名 required maxLength : 100 |
| positionExternalKey | string | 役職の ExternalKey maxLength : 100 nullable : true |
| i18nNames | array (I18nName) | 多国語名リスト |
| Property | Type | Description |
|---|---|---|
| name | string | 多国語表示名 required minLength : 1 maxLength : 100 |
| language | string | 多国語言語コード required Allowed values : ja_JP, ko_KR, en_US, zh_CN, zh_TW |
example
1{2 "domainId": 10000001,3 "positionId": "position-7027-4a02-b838-6f52b5e38db7",4 "displayOrder": 2,5 "positionName": "社員",6 "positionExternalKey": "POSITION_EXT_02",7 "i18nNames": [8 {9 "name": "Staff",10 "language": "en_US"11 }12 ]13}Forbidden