List valuesets
GET/v2/valuesets
List valuesets
Request
Query Parameters
Pagination page number
Pagination offset number
Search by date created greater than
Search by date created less than
Search by date updated greater than
Search by date updated less than
List of Valueset primary identifiers
Possible values: [SYSTEM
, CUSTOM
]
Valueset type. One of: [SYSTEM, CUSTOM]
List of names
Possible values: [id
, name
, lastModifiedAt
, createdAt
]
Default value: id
Field to sort by
Possible values: [ASC
, DESC
]
Default value: ASC
Order option to sort by
Responses
- 200
- 400
- 403
- 500
Paginated list of valuesets
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
items
object[]
required
List of items of type Valueset
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
Total number of items found
Possible values: >= 1
Default value: 12
The amount of items to show per page
Possible values: >= 1
Default value: 1
The current page
Possible values: >= 1
Total amount of pages
Possible values: >= 1
Start position of the current page
Possible values: >= 1
End position of the current page
{
"items": [
{
"id": 12345,
"name": "My valueset name",
"type": "CUSTOM",
"descriptions": [
{
"lang": "EN",
"value": "my valueset description"
}
],
"lastModifiedBy": 0,
"lastModifiedAt": "2024-12-16T13:39:49.554Z",
"createdBy": 0,
"createdAt": "2024-12-16T13:39:49.554Z"
}
],
"itemsFound": 12,
"offset": 12,
"page": 4,
"pages": 1,
"start": 1,
"end": 12
}
Bad request
Forbidden
Unknown list valueset error