Copy library object
post
/ec-library-svc/rest/v2.0/libraryObjects/studies/{studyId}/versions/{studyVersion}/{copyObjectMethod}/copyObjects
Copies 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:
objectTitle:
LibraryCopyObjectDto v1.0Information 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
Root Schema : ErrorResponseData
Type:
objectStructure representing an error response from the reporting service. Contains an error code, human-readable message, and details.
Show Source
-
details: string
Detailed error context or debugging information such as validation error, stack trace, or field/parameter cause.Example:
User role is missing required permission REPORTING_VIEW. Field: userId -
errorCode: string
Application or business-specific error code representing the error type.Example:
REPT_401 -
errorMessage: string
Human-readable error message describing the failure or issue.Example:
Unauthorized: User does not have access to the requested resource