PUT/directory/employment-types/{employmentTypeId}
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
| Parameter | Type | Description |
|---|---|---|
| employmentTypeId | string | 利用権限タイプを特定する ID (URL エンコードする)
required example : employ2c-f321-47a6-ac11-e81fcc23a8c3 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| displayOrder | integer | 表示順位 (重複許可) required format : int32 |
| employmentTypeName | string | 利用権限タイプ名 required maxLength : 100 |
| employmentTypeExternalKey | string | 利用権限タイプの ExternalKey maxLength : 100 nullable : true |
| i18nNames | array (I18nName) | 多国語名リスト |
| userTypeCode | string | 利用権限タイプコード maxLength : 50 nullable : true |
| 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 "displayOrder": 1,3 "employmentTypeName": "利用権限タイプ01",4 "employmentTypeExternalKey": "EMPLOYMENTTYPE_EXT_01",5 "i18nNames": [6 {7 "name": "English Name",8 "language": "en_US"9 }10 ],11 "userTypeCode": "code"12}OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID required format : int32 |
| employmentTypeId | string | 利用権限タイプ ID
readOnly : true |
| displayOrder | integer | 表示順位 (重複許可) required format : int32 |
| employmentTypeName | string | 利用権限タイプ名 required maxLength : 100 |
| employmentTypeExternalKey | string | 利用権限タイプの ExternalKey maxLength : 100 nullable : true |
| i18nNames | array (I18nName) | 多国語名リスト |
| userTypeCode | string | 利用権限タイプコード maxLength : 50 nullable : true |
| 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 "employmentTypeId": "employ2c-f321-47a6-ac11-e81fcc23a8c3",4 "displayOrder": 1,5 "employmentTypeName": "利用権限タイプ01",6 "employmentTypeExternalKey": "EMPLOYMENTTYPE_EXT_01",7 "i18nNames": [8 {9 "name": "English Name",10 "language": "en_US"11 }12 ],13 "userTypeCode": "code"14}Forbidden