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
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Back to Top