[Deprecated]: Insert a new code list
post
/ec-codelist-svc/rest/v2.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
- application/json
Nested Schema : Code
Type:
Show Source
object
-
canAddValues: boolean
-
canHideValues: boolean
-
codeGroupId: string
(uuid)
-
codeLevel: string
Minimum Length:
1
Maximum Length:32
-
codeName: string
Minimum Length:
1
Maximum Length:255
-
codeType: string
Minimum Length:
1
Maximum Length:255
-
comment: string
-
customizable: boolean
-
description: string
Minimum Length:
1
Maximum Length:4000
-
displayCodeName: string
-
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
optlock: string
(date-time)
-
parCodeName: string
Minimum Length:
1
Maximum Length:255
-
reason: string
-
softwareVersionNumber: number
-
tag: string
Minimum Length:
1
Maximum Length:32767
-
tenantLevelOnly: boolean
-
userId: string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
Nested Schema : CodeValue
Type:
Show Source
object
-
code: string
Minimum Length:
1
Maximum Length:255
-
codeGroupId: string
(uuid)
-
codeId: string
(uuid)
-
codeLabel: string
Minimum Length:
1
Maximum Length:32767
-
codeValue: string
Minimum Length:
1
Maximum Length:32767
-
comment: string
-
customizationType: string
- hidden: boolean
-
id: string
(uuid)
-
language: string
Minimum Length:
1
Maximum Length:10
-
locale: string
Minimum Length:
1
Maximum Length:255
-
loinc: string
-
objectVersionNumber: number
-
operationType: string
Minimum Length:
1
Maximum Length:16
-
optlock: string
(date-time)
-
reason: string
-
sequence: number
-
softwareVersionNumber: number
-
userId: string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
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','Missing required field (codeName)','Missing required field (codeType)','Duplicate code name', 'Internal server error'
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object