Get code list matching the given parameters

get

/ec-codelist-svc/rest/v3.0/codelist/values/{fieldName}

Retrieves the list of all code lists values matching the given fieldName, type, studyId, groupId, data type, isHierarchial and language passed.

Request

Path Parameters
Query Parameters
  • Indicates whether hidden fields need to be retrieved. Allowed values are true or false.
  • Data Type. Allowed values are current, history. Default is current.
    Allowed Values: [ "current", "history" ]
  • ID of the group
  • Indicates whether hidden code values should be returned. Allowed values are true or false. Default is false
    Default Value: true
  • Indicates whether hierarchial code values need to be retrieved. Allowed values are true or false.
  • Language for expected response codelist. This overrides user preference for language. This field is case sensitive and accepts values like en, ja etc. By default it's english (en)
  • Mode of the study. Allowed values are active, test and training
  • ID of the study
  • Field Type. Allowed values are code, tag and id. Default is code.
    Allowed Values: [ "code", "tag", "id" ]

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : BaseCodeListDto
Type: object
Show Source
Nested Schema : code
Type: object
Nested Schema : values
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Missing required field (codeName).
Body ()
Root Schema : CodeListResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object

500 Response

Internal server error
Body ()
Root Schema : CodeListResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Back to Top