Copy forms in bulk
post
/ec-designer-svc/rest/v2.0/studies/{studyId}/versions/{version}/forms/copyForms
Copies all the forms passed in request to the given study and version.
Request
Path Parameters
-
studyId(required): string(uuid)
Study ID. Example: F054C951EB74443C93716CA714AB686E
-
version(required): string
Study version. Example: "1.0.0.1"
Query Parameters
-
include: string
Indicates to copy only show/link form rules or all associated forms
Supported Media Types
- */*
Nested Schema : CopyFormsV2
Type:
Show Source
object
-
formId(required): string
(uuid)
Form GUID
-
studyId(required): string
(uuid)
Study GUID
-
version(required): string
versionExample:
1.3.0.6
Response
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : schema
Type:
Show Source
array
-
Array of:
object CopyForms
Title:
CopyForms
Information about forms to be copied.
Nested Schema : CopyForms
Type:
object
Title:
CopyForms
Information about forms to be copied.
Show Source
-
studyId: integer
(int64)
Study GUID
500 Response
Error
Root Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
Cannot modify object after a study version has been approved
Nested Schema : Object
Type:
object
Title:
Object
Object with error details information.