Undo the previous copy of a library object
post
/ec-library-svc/rest/v1.0/libraryObjects/studies/{studyId}/versions/{studyVersion}/revertCopyObjects
Undo the previous copy of a library object.
Request
Path Parameters
-
studyId(required): string(uuid)
Study ID
-
studyVersion(required): string
Study version
Supported Media Types
- */*
Root Schema : schema
Type:
Show Source
array-
Array of:
object LibraryCopyObjectDto v1.0
Title:
LibraryCopyObjectDto v1.0Information about library Copy Object
Nested 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
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