Skip to main content

Create a new valueset

POST 

/v2/valuesets

Create a new valueset

Request

Body

required

Create valueset input

    name stringrequired

    Valueset unique name

    descriptions

    object[]

    Valueset descriptions per language

  • Array [

  • language stringrequired

    Possible values: >= 2 characters and <= 2 characters

    Localized field language code

    value stringnullablerequired

    Localized field value

  • ]

Responses

Valueset created

Schema

    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

  • Array [

  • 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

Loading...