SOAP API method Account_createWebTemplate

Back to API references

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
Parameter 'name' : string
Name of the new template
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'webtemplate' : Structure of type 'webtemplate'

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'webtemplate'
This structure webtemplate was mentioned above. This structure has the following properties:
Property 'charset' : string
The charset of the htmltemplate.
Property 'htmlEscaping' : string
Check if the template is escaping HTML code
Property 'smartyVersion' : integer
What smarty version is used to render this template
Property 'id' : int
The ID of the template.
Property 'name' : string
The name of the template.
Property 'description' : string
The description of the template.
Property 'archived' : boolean
The template is archived.
Property 'created' : timestamp
When the template was created.
Property 'modified' : timestamp
When the template was last modified.
Property 'language' : string
The language of the template.
Property 'timezone' : string
Get the timezone of the template