[Deprecated]: Update an existing code list
put
/ec-codelist-svc/rest/v1.0/codelist
Deprecated: This method is no longer used to update system-level specific code list based on the given payload. The API used to update code lists at a user-level will be provided in the future.
Right: CodeListPost.
Right: CodeListPost.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : Code
Type:
Show Source
object-
canAddValues: boolean
-
canHideValues: boolean
-
codeGroupId: string
(uuid)
-
codeLevel: string
Minimum Length:
1Maximum Length:32 -
codeName: string
Minimum Length:
1Maximum Length:255 -
codeType: string
Minimum Length:
1Maximum Length:255 -
comment: string
-
customizable: boolean
-
description: string
Minimum Length:
1Maximum Length:4000 -
displayCodeName: string
-
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1Maximum Length:16 -
optlock: string
(date-time)
-
parCodeName: string
Minimum Length:
1Maximum Length:255 -
reason: string
-
softwareVersionNumber: number
-
tag: string
Minimum Length:
1Maximum Length:32767 -
tenantLevelOnly: boolean
-
userId: string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
Nested Schema : values
Type:
Show Source
array-
Array of:
object 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:
objectRepresents a coded value applied to a source value. Includes coding information, item and target identifiers and the coded result.
Show Source
-
code_value(required): string
Minimum Length:
0Maximum Length:4000The actual code value derived from the coding process.Example:R79.0 -
coding_info_id: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) for the coding info used to derive the code.Example:
3A1A5E8B0F894A9CA9F324D04B162F23 -
item_id: string
Unique Item identifier (UUID, 32-character uppercase hexadecimal string) from the study Designer, associated to a form.Example:
5B3B7E0ED4F24E30B5A3A44C5A896C90 -
target_id: string
Unique identifier(UUID, 32-character uppercase hexadecimal string) for the coding result target.Example:
F843B5478028498882E3AF11FEBA3F2A
Response
Supported Media Types
- application/json
200 Response
Success
Nested Schema : CodeValueDto
Type:
Show Source
object-
codeId: string
(uuid)
-
codeLabel: string
-
codeValue: string
-
comment: string
-
id: string
(uuid)
-
locale: string
-
objectVersionNumber: number
-
operationType: string
-
optLock: string
(date-time)
-
reason: string
-
softwareVersionNumber: number
-
userId: string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
400 Response
'Missing required code definition', 'Missing required values definition','Code not found', 'Missing required field (ID)',
Nested Schema : result
Type:
objectNested Schema : details
Type:
object500 Response
Internal server error
Nested Schema : result
Type:
objectNested Schema : details
Type:
object