Create a new valueset
POST/v1/valuesets
Create a new valueset
Request
- application/json
Body
required
Create valueset input
Array [
]
Valueset unique name
descriptions
object[]
Valueset descriptions per language
Possible values: >= 2 characters
and <= 2 characters
Localized field language code
Localized field value
Responses
- 201
- 400
- 403
- 409
- 500
Valueset created
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Valueset primary identifier
Possible values: <= 64 characters
Valueset name
Possible values: [SYSTEM
, CUSTOM
]
Valueset type
descriptions
object[]
required
Valueset descriptions
Possible values: >= 2 characters
and <= 2 characters
Language is set as 2 character country code.
Localized field value
The userId of the user that changed the valueset
Valueset last modified date
The userId of the user that created the valueset
Valueset creation date
{
"id": 12345,
"name": "My valueset name",
"type": "CUSTOM",
"descriptions": [
{
"lang": "EN",
"value": "my valueset description"
}
],
"lastModifiedBy": 0,
"lastModifiedAt": "2024-11-26T09:27:23.737Z",
"createdBy": 0,
"createdAt": "2024-11-26T09:27:23.737Z"
}
Bad request
Forbidden
Valuetset already exists
Unknown create valueset error