MultiLinkRequest Data Type

Request object for linking multiple templates to or unlink multiple templates from folders

Properties
name data type description
templateIds array of string Template IDs of the templates to be handled. IDs may be local or global IDs
Properties inherited from LinkRequest
recursive boolean True if the template shall be linked to or unlinked from the given folders recursively (including all subfolders). The default is false (not recursive)
folderIds array of string Set of folder IDs to handle. Folder IDs may either be local or global IDs.
nodeId number Node ID for handling channel local folders. Note that linking templates to folders is always done for the master objects. It is not possible to have a different linking for inherited or localized templates or folders.
delete boolean True to delete the template, if it is unlinked from the last folder.

Example

{
  "templateIds" : [ "...", "..." ],
  "recursive" : true,
  "folderIds" : [ "...", "..." ],
  "nodeId" : 12345,
  "delete" : true
}