Get a valueset by id
GET/v2/valuesets/:id
Get a valueset by id
Request
Path Parameters
id numberrequired
Valueset identifier
Responses
- 200
- 400
- 403
- 404
- 500
Get a valueset by id
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id integerrequired
Valueset primary identifier
name stringrequired
Possible values: <= 64 characters
Valueset name
type stringrequired
Possible values: [SYSTEM
, CUSTOM
]
Valueset type
descriptions
object[]
required
Valueset descriptions
language stringrequired
Possible values: >= 2 characters
and <= 2 characters
Language is set as 2 character country code.
value string
Localized field value
lastModifiedBy integer
The userId of the user that changed the valueset
lastModifiedAt date-timerequired
Valueset last modified date
createdBy integer
The userId of the user that created the valueset
createdAt date-timerequired
Valueset creation date
{
"id": 12345,
"name": "My valueset name",
"type": "CUSTOM",
"descriptions": [
{
"lang": "EN",
"value": "my valueset description"
}
],
"lastModifiedBy": 0,
"lastModifiedAt": "2024-12-16T13:39:49.558Z",
"createdBy": 0,
"createdAt": "2024-12-16T13:39:49.558Z"
}
Bad request
Forbidden
Valueset not found
Unknown get valueset error
Loading...