Skip to main content

Create a new valueset item

POST 

/v2/valuesets/items

Create a new valueset item

Request

Body

required

Create valueset item input

    valuesetId numberrequired

    Valueset id

    value stringrequired

    Valueset item unique value

    descriptions

    object[]

    Valueset items descriptions per language

  • Array [

  • language stringrequired

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

    Localized field language code

    value stringnullablerequired

    Localized field value

  • ]

  • extra string

    Valueset item extra value

Responses

Valueset item created

Schema

    id integerrequired

    Valueset item primary identifier

    valuesetId integerrequired

    Valueset foreign identifier

    value stringrequired

    Possible values: <= 512 characters

    Valueset item value

    descriptions

    object[]

    required

    Valueset item descriptions

  • Array [

  • language stringrequired

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

    Language is set as 2 character country code.

    value string

    Localized field value

  • ]

  • extra stringrequired

    Possible values: <= 512 characters

    Valueset item extra value

Loading...