Create a new valueset item
POST/v1/valuesets/items
Create a new valueset item
Request
- application/json
Body
required
Create valueset item input
Array [
]
Valueset id
Valueset item unique value
descriptions
object[]
Valueset items descriptions per language
Possible values: >= 2 characters
and <= 2 characters
Localized field language code
Localized field value
Valueset item extra value
Responses
- 201
- 400
- 403
- 409
- 500
Valueset item created
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Valueset item primary identifier
Valueset foreign identifier
Possible values: <= 512 characters
Valueset item value
descriptions
object[]
required
Valueset item descriptions
Possible values: >= 2 characters
and <= 2 characters
Language is set as 2 character country code.
Localized field value
Possible values: <= 512 characters
Valueset item extra value
{
"id": 12345,
"valuesetId": 12345,
"value": "My valueset item value",
"descriptions": [
{
"lang": "EN",
"value": "my valueset item description"
}
],
"extra": "My valueset item extra value"
}
Bad request
Forbidden
Valueset item already exists
Unknown create valueset item error