SOAP API methode WebSite_createDocument
Beschrijving
Creates a document (webpage) to the website using a template.
Parameters
Naam | Type | Beschrijving |
---|---|---|
id * | int | Unique identifier (id) of the object WebSite. The method only applies to the website with this id. |
name * | string | |
webtemplate * | Structure of type 'webtemplate' | |
login | Structure of type 'login' | Optional login data (soon deprecated) |
access_token | string | Optional api access token |
* verplichte parameters |
Resultaat
Naam | Type | Beschrijving |
---|---|---|
webdocument | Structure of type 'webdocument' |
Structuur 'webtemplate'
Naam | Type | Beschrijving |
---|---|---|
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 |
Structuur 'login'
Naam | Type | Beschrijving |
---|---|---|
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 |
Structuur 'webdocument'
Naam | Type | Beschrijving |
---|---|---|
loginrequired | boolean | The page is only available for logged in profiles or subprofiles. |
enabled | boolean | Page enabled. |
charset | string | Gets the charset that should be used when showing/sending this document |
htmlEscaping | string | Check if the document is escaping HTML code |
smartyVersion | integer | What smarty version is used to render this document |
id | int | The ID of the document. |
templateID | int | The template ID of the document |
name | string | The name of the document. |
description | string | The description of the document. |
archived | boolean | Is this an archived document?. |
created | timestamp | The date and time when the document was created. |
modified | timestamp | The date and time when the document was last modified. |
language | string | The language of the document. |
timezone | string | Get the time zone of the document. If the timezone is not set, it returns |