Back to API references

SOAP API method WebDocument_setStyle

Description

Set the style of this htmldocument. Give false when the template's stylesheet should be used.

Parameters

Name Type Description
id * int Unique identifier (id) of the object WebDocument. The method only applies to the webdocument with this id.
personalize_profile int Profile ID for which the object should be personalized
personalize_subprofile int Subprofile ID for which the object should be personalized
personalize_timestamp string The timestamp for the personalization
style Structure of type 'style'
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Structure 'style'

Name Type Description
id int The ID of the style.
name string The name of the style.
description string The description of the style.
modified string The last modification time of the style.
archived boolean The style is archived.
mainstyle string The main style properties.
surveystyle string The survey style properties.
rssstyle string The rss style properties.
atomstyle string The Atom style properties.
webformstyle string The Webform style properties.

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