Update a valueset item by id
PATCH/v1/valuesets/items/:id
Update a valueset item by id
Request
Path Parameters
Valueset item identifier
- application/json
Body
required
Update 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
- 200
- 400
- 403
- 404
- 409
- 500
Valueset item updated
- 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 not found
Valueset item already exists
Unknown update valueset item error