PageCopyRequest Data Type

Request for a batch copy call

Properties
name data type constraints description
targetFolders array of TargetFolder   The list of target folder in which the pages should be copied.
sourcePageIds array of number   The list of source page id's that should be copied to the target folders.
createCopy boolean required boolean Whether new copies should be created in folders in which already pages with the same name reside.
nodeId number   Node ID for the source pages. If this is set to a channel, the channel variant of the given page will be copied.

Example

{
  "targetFolders" : [ {
    "id" : 12345,
    "channelId" : 12345
  }, {
    "id" : 12345,
    "channelId" : 12345
  } ],
  "sourcePageIds" : [ 12345, 12345 ],
  "createCopy" : true,
  "nodeId" : 12345
}