Get a list of all code lists by code list type

get

/ec-codelist-svc/rest/v4.0/codelist

Retrieves a list of all code lists by code list type. To retrieve code lists for a particular Group, groupId param must be passed.

Request

Query Parameters
  • codeName. Search codelists by a query (code name or a part of it). Case-Insensitive
  • Type of the codelist. Allowed values are CUSTOM, and SYSTEM. USER and APPLICATION are not supported
    Allowed Values: [ "USER", "CUSTOM", "SYSTEM", "APPLICATION" ]
  • Id of a CodeList group. When specified, returns codelists of the group (including non-customized SYSTEM default codelists)
  • Mode of the study. Allowed values are active, test and training
  • sortBy. By default list is sorted by name in alphabetical order
    Default Value: codeName:asc
  • ID of the study

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : Code
Type: object
Show Source

400 Response

Invalid request URL.
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