[Deprecated]: Insert a new code list

post

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

Deprecated: This method is no longer used to insert a new system-level code list based on the given payload. The API used to insert code lists at a user-level will be provided in the future.
Right: CodeListPost.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Code
Type: object
Show Source
Nested Schema : values
Type: array
Show Source
  • CodeValue
    Represents a coded value applied to a source value. Includes coding information, item and target identifiers and the coded result.
Nested Schema : CodeValue
Type: object
Represents a coded value applied to a source value. Includes coding information, item and target identifiers and the coded result.
Show Source
  • Minimum Length: 0
    Maximum Length: 4000
    The actual code value derived from the coding process.
    Example: R79.0
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) for the coding info used to derive the code.
    Example: 3A1A5E8B0F894A9CA9F324D04B162F23
  • Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.
    Example: 5B3B7E0ED4F24E30B5A3A44C5A896C90
  • Unique identifier(UUID, 32-character uppercase hexadecimal string) for the coding result target.
    Example: F843B5478028498882E3AF11FEBA3F2A
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : CodeListDto
Type: object
Show Source
Nested Schema : values
Type: array
Show Source
Nested Schema : CodeValueDto
Type: object
Show Source

400 Response

'Missing required code definition', 'Missing required values definition','Missing required field (codeName)','Missing required field (codeType)','Duplicate code name'
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