POST/workflow/linkage-codes
申請フォーマットの入力値リストを作成する。
本 API の利用には、申請フォーマットの入力値リスト管理 メニューへのアクセス権限が必要となる。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
workflow
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
入力値リスト 登録リクエスト データ
| Property | Type | Description |
|---|---|---|
| linkageCodeKey | string | 入力値リストのリスト管理コード required minLength : 1 maxLength : 30 |
| linkageCodeName | string | 入力値リストのコード名 required minLength : 1 maxLength : 100 |
| i18nNames | array (I18nName) | 多国語名リスト |
| enabled | boolean | 入力値リストの有効フラグ default : false |
| 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 "linkageCodeKey": "vegetables",3 "linkageCodeName": "野菜",4 "i18nNames": [5 {6 "language": "ja_JP",7 "name": "野菜"8 },9 {10 "language": "en_US",11 "name": "vegetables"12 },13 {14 "language": "ko_KR",15 "name": "채소"16 }17 ],18 "enabled": true19}OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID format : int32 |
| linkageCodeKey | string | 入力値リストのリスト管理コード |
| linkageCodeName | string | 入力値リストのコード名 |
| i18nNames | array (I18nName) | 多国語名リスト |
| enabled | boolean | 入力値リストの有効フラグ |
| 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 |
Not Found
Conflict