v1.0

post

/ec-codelist-svc/rest/v1.0/codelist/code/copy/{codeId}

Create a copy of an existing codelist under a new name.

Request

Path Parameters
Query Parameters
  • Name of the codelist.
    Example:
    AESEV
  • Type of the codelist. Allowed values are USER, CUSTOM, SYSTEM, APPLICATION.
    Default Value: CUSTOM
    Allowed Values: [ "USER", "CUSTOM", "SYSTEM", "APPLICATION", "DYNAMIC", "DESIGN" ]
    Example:
    String
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) ID of a Study. Only required if level path parameter equals to 'studies'
    Example:
    B1B8327AFAA6412287106192AB5984EF

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
Examples

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