pageCreateRequest

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

Page create request

XML

Elements

name (type) min/max
occurs
description
folderId (string) 0/1 The ID of the folder, where the page shall be created. This may either be the local or the global folder id.
templateId (int) 0/1 Id of the template the created page shall use
variantId (int) 0/1 Id of the page, this page shall be a variant of
language (string) 0/1 Language of the created page
nodeId (int) 0/1 Id of the node we want to create page in.
pageName (string) 0/1 Name of the page
fileName (string) 0/1 Filename of the page
forceExtension (boolean) 1/1 Whether or not the automatic extension generation should be overridden. If true, a filename extension matching the template is generated.
description (string) 0/1 Description of the page
priority (int) 0/1 Priority of the page
contentSetId (int) 0/1 Contentset ID of the page
failOnDuplicate (boolean) 0/1 True if creating the page with a duplicate name will fail. If false (default) the name will be made unique before saving.
variantChannelId (int) 0/1 The channel of the source page of the variant. If a variant is created, the source page and its translation are taken from this channel. If not specified, the channel in which the page specified by variantId was created is used instead.

JSON

property type description
folderId folderId (string) The ID of the folder, where the page shall be created. This may either be the local or the global folder id.
templateId templateId (int) Id of the template the created page shall use
variantId variantId (int) Id of the page, this page shall be a variant of
language language (string) Language of the created page
nodeId nodeId (int) Id of the node we want to create page in.
pageName pageName (string) Name of the page
fileName fileName (string) Filename of the page
forceExtension forceExtension (boolean) Whether or not the automatic extension generation should be overridden. If true, a filename extension matching the template is generated.
description description (string) Description of the page
priority priority (int) Priority of the page
contentSetId contentSetId (int) Contentset ID of the page
failOnDuplicate failOnDuplicate (boolean) True if creating the page with a duplicate name will fail. If false (default) the name will be made unique before saving.
variantChannelId variantChannelId (int) The channel of the source page of the variant. If a variant is created, the source page and its translation are taken from this channel. If not specified, the channel in which the page specified by variantId was created is used instead.