Create copy of code list by given ID and name
post
/ec-codelist-svc/rest/v1.0/codelist/code/copy/{codeId}
Creates a copy of a code list by the given ID and name.
Request
Path Parameters
-
codeId(required): string(uuid)
ID of the codelist (depending on 'type' parameter, ID can be used as UUID, code name, or tag)
Query Parameters
-
codeName(required): string
Name of the codelist.
-
studyId: string(uuid)
ID of a Study. Only required if level path parameter equals to 'studies'
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Success
Root 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)
400 Response
Invalid request URL.
Nested Schema : result
Type:
objectNested Schema : details
Type:
object