Copy a library object
post
/ec-library-svc/rest/v2.0/libraryObjects/studies/{studyId}/versions/{studyVersion}/{copyObjectMethod}/copyObjects
Copy a library object.
Request
Path Parameters
-
copyObjectMethod(required): string
Copy object method
-
studyId(required): string(uuid)
Study id
-
studyVersion(required): string
Study version
Supported Media Types
- */*
Nested Schema : LibraryCopyObjectDtoV2
Type:
Show Source
object
-
associatedForm: boolean
-
isAssociatedForm: boolean
Is form associatedExample:
true
-
objectGroup: string
Object group (title)Example:
Demography
-
objectId: string
(uuid)
Object (forms, rules...) ID
-
objectType: string
Object typeExample:
FORM
-
sourceObjectId: string
(uuid)
Object (forms...) ID
-
sourceStudyId: string
(uuid)
Source study id
-
sourceStudyType: string
Source study typeExample:
LIBRARY
-
sourceStudyVersion: string
Source study versionExample:
1.0.0.1
-
studyId: string
(uuid)
Library study id
-
studyType: string
Study typeExample:
LIBRARY
-
studyVersion: string
Library study versionExample:
1.0.0.1
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : LibraryCopyObjectDto v1.0
Type:
object
Title:
LibraryCopyObjectDto v1.0
Information about library Copy Object
Show Source
-
objectGroup: string
Object group (title)Example:
Demography
-
objectId: string
(uuid)
Object (forms, rules...) ID
-
objectType: string
Object typeExample:
FORM
-
sourceObjectId: string
(uuid)
Object (forms...) ID
-
sourceStudyId: string
(uuid)
Source study id
-
sourceStudyType: string
Source study typeExample:
LIBRARY
-
sourceStudyVersion: string
Source study versionExample:
1.0.0.1
-
studyId: string
(uuid)
Library study id
-
studyType: string
Study typeExample:
LIBRARY
-
studyVersion: string
Library study versionExample:
1.0.0.1
500 Response
Error
Nested Schema : details
Type:
object