templateSaveRequest element

Type: templateSaveRequest
Namespace: http://www.gentics.com/rest
XML Schema: ns0.xsd

Request for saving a template

Example JSON

{ "template" : { "inheritedFrom" : "...", "masterNode" : "...", "id" : ..., "globalId" : "...", "name" : "...", "description" : "...", "creator" : { "id" : ..., "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : ..., "name" : "...", "description" : "...", "children" : [ { "..." : ... }, ... ] }, ... ], "login" : "..." }, "cdate" : ..., "editor" : { "id" : ..., "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : ..., "name" : "...", "description" : "...", "children" : [ { "..." : ... }, ... ] }, ... ], "login" : "..." }, "edate" : ..., "locked" : false, "markupLanguage" : { "id" : ..., "name" : "...", "extension" : "...", "contentType" : "..." }, "inherited" : false, "folderId" : ..., "masterId" : ..., "path" : "...", "templateTags" : { "..." : { "mandatory" : false, "editableInPage" : false, "id" : ..., "name" : "...", "constructId" : ..., "active" : false, "properties" : { "..." : { "type" : "STRING", "stringValue" : "...", "booleanValue" : false, "fileId" : ..., "imageId" : ..., "folderId" : ..., "pageId" : ..., "stringValues" : [ "...", ... ], "options" : [ { "id" : ..., "key" : "...", "value" : "..." }, ... ], "selectedOptions" : [ { "id" : ..., "key" : "...", "value" : "..." }, ... ], "datasourceId" : ..., "overview" : { "recursive" : false, "listType" : "PAGE", "selectType" : "FOLDER", "orderDirection" : "ASC", "orderBy" : "ALPHABETICALLY", "selectedItemIds" : [ ..., ... ], "source" : "...", "maxItems" : ... }, "templateId" : ..., "contentTagId" : ..., "templateTagId" : ..., "partId" : ..., "id" : ... }, "---" : ... }, "type" : "CONTENTTAG" }, "---" : ... }, "objectTags" : { "..." : { "id" : ..., "name" : "...", "constructId" : ..., "active" : false, "properties" : { "..." : { "type" : "STRING", "stringValue" : "...", "booleanValue" : false, "fileId" : ..., "imageId" : ..., "folderId" : ..., "pageId" : ..., "stringValues" : [ "...", ... ], "options" : [ { "id" : ..., "key" : "...", "value" : "..." }, ... ], "selectedOptions" : [ { "id" : ..., "key" : "...", "value" : "..." }, ... ], "datasourceId" : ..., "overview" : { "recursive" : false, "listType" : "PAGE", "selectType" : "FOLDER", "orderDirection" : "ASC", "orderBy" : "ALPHABETICALLY", "selectedItemIds" : [ ..., ... ], "source" : "...", "maxItems" : ... }, "templateId" : ..., "contentTagId" : ..., "templateTagId" : ..., "partId" : ..., "id" : ... }, "---" : ... }, "type" : "CONTENTTAG" }, "---" : ... }, "source" : "...", "channelSetId" : ..., "channelId" : ..., "master" : false }, "unlock" : false, "syncPages" : false, "delete" : [ "...", ... ] }