Back to API references

SOAP API method Account_createWebTemplate

Description

A webtemplate is a template for publishing a website. The webtemplate can not published by itself, but an webdocument can be published. This method will create a new webtemplate in this account.

Parameters

Name Type Description
name * string Name of the new template
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
webtemplate Structure of type 'webtemplate'

Structure 'login'

Name Type Description
username string The username of the login attempt
account string The account name of the login attempt
password string The password for the login attempt

Structure 'webtemplate'

Name Type Description
charset string The charset of the htmltemplate.
htmlEscaping string Check if the template is escaping HTML code
smartyVersion integer What smarty version is used to render this template
upgradeSmartyVersion integer Upgrade smartyversion 2 to 3
id int The ID of the template.
name string The name of the template.
description string The description of the template.
archived boolean The template is archived.
created timestamp When the template was created.
modified timestamp When the template was last modified.
language string The language of the template.
timezone string Get the timezone of the template