[Deprecated]: Insert a new code in a code list
post
/ec-codelist-svc/rest/v1.0/codelist/code
Deprecated: Inserts a new system-level code list based on the given payload. Right: CodeListPost.
Request
Query Parameters
-
mode(required): string
Mode of the study. Allowed values are active, test and training
-
studyId(required): string
ID of the study
Supported Media Types
- application/json
Nested Schema : CodeV1
Type:
Show Source
object
-
codeLevel: string
-
codeName: string
-
codeType: string
-
comment: string
-
description: string
-
id: string
(uuid)
-
objectVersionNumber: number
-
operationType: string
-
optlock: string
(date-time)
-
parCodeName: string
-
reason: string
-
softwareVersionNumber: number
-
userId: string
(uuid)
-
versionEnd: string
(date-time)
-
versionStart: string
(date-time)
Nested Schema : CodeValueV1
Type:
Show Source
object
-
code: string
-
codeId: string
(uuid)
-
codeLabel: string
-
codeValue: string
-
comment: string
-
id: string
(uuid)
-
locale: string
-
objectVersionNumber: number
-
operationType: string
-
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 : code
Type:
object
Nested Schema : items
Type:
object
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
500 Response
Internal server error
Nested Schema : result
Type:
object
Nested Schema : details
Type:
object