Skip to content

This API allows you to copy a content plan section or item to reuse existing content and prevent duplicate work. For example, you may want to copy a clinical study or quality section and its matched documents for a similar submission to a different application.

This API functionality has the same behavior and limitations as copying through the Content Plan Hierarchy Viewer in the Vault UI. Learn more about copying into content plans in Vault Help.

POST/api/{version}/app/rim/content_plans/actions/copyinto
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
source_idThe ID of the content plan or content plan item to copy.
target_idThe ID of the parent content plan, which is where the source content plan will be copied under. Cannot be inactive.
orderAn integer indicating the position in the target content plan where the source content plan will be copied. A value of 1 indicates the first position in the target content plan.
copy_documentsIf true, matched documents are included in the copy. If false, matched documents are not included in the copy. Cannot be omitted.
curl -X POST -H "Authorization: {SESSION_ID}" \ -H "Content-Type: application/json" \ https://myvault.veevavault.com/api/v26.1/app/rim/content_plans/actions/copyinto
{ "responseStatus": "WARNING", "warnings": [ { "type": "TEMPLATE_MISMATCH", "message": "The templates of the source and target do not align." }, { "type": "LEVEL_MISMATCH", "message": "Level of the source record does not match the level of the target location." } ], "job_id": 104448 }
{ "responseStatus": "WARNING", "warnings": [ { "type": "LEVEL_MISMATCH", "message": "Level of the source record does not match the level of the target location." }, { "type": "TEMPLATE_MISMATCH", "message": "The templates of the source and target do not align." } ], "createdCPIRecordId": "0EI000000004001" }

Copying a content plan is an asynchronous process which provides a job_id. When the copy is complete, you’ll receive an email notification.

Copying a content plan item is a synchronous process which provides the createdCPIRecordId of the newly copied content plan item.