POST/workflow/linkage-codes/{linkageCodeKey}/linkage-code-items
入力値リストの入力値を登録する。
本 API の利用には、申請フォーマットの入力値リスト管理 メニューへのアクセス権限が必要となる。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
workflow
| Parameter | Type | Description |
|---|---|---|
| linkageCodeKey | string | 入力値リストのリスト管理コード required |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
入力値リスト 登録リクエスト データ
| Property | Type | Description |
|---|---|---|
| linkageCodeItemId | string | 入力値コード required minLength : 1 maxLength : 100 |
| linkageCodeItemName | 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
1{2 "linkageCodeItemId": "carrot",3 "linkageCodeItemName": "人参",4 "i18nNames": [5 {6 "language": "ja_JP",7 "name": "ニンジン"8 },9 {10 "language": "en_US",11 "name": "carrot"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 | 入力値リストのコード名 |
| enabledLinkageCode | boolean | 入力値リストの有効フラグ |
| linkageCodeItemId | string | 入力値コード |
| linkageCodeItemName | string | 入力値 |
| i18nNames | array (I18nName) | 多国語名リスト |
| enabledLinkageCodeItem | 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