Back to API references

SOAP API method EmailingDocument_style

Description

It returns the PxPomStyle entity when custom styles are applied to this document. If not, this method will return false. In that case, you can use the template's style instead.

Parameters

Name Type Description
id * int Unique identifier (id) of the object EmailingDocument. The method only applies to the emailingdocument 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
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
style Structure of type 'style' | false

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 '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.