Back to API references

SOAP API method EmailingTemplate_block

Description

A single block of the template.

Parameters

Name Type Description
id * int Unique identifier (id) of the object EmailingTemplate. The method only applies to the emailingtemplate with this id.
identifier * string
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
webtemplatetextblock Structure of type 'webtemplatetextblock'
emailingtemplatetextblock Structure of type 'emailingtemplatetextblock'
webtemplateimageblock Structure of type 'webtemplateimageblock'
emailingtemplateimageblock Structure of type 'emailingtemplateimageblock'
emailingtemplateloopblock Structure of type 'emailingtemplateloopblock'
webtemplateloopblock Structure of type 'webtemplateloopblock'

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

Name Type Description
id string The ID of the block.
name string The name of the block.
begin string The HTML code that is displayed in front of the block, when the block exists.
end string The HTML code that is displayed at the end of the block, when the block exists.

Structure 'emailingtemplatetextblock'

Name Type Description
id string The ID of the block.
name string The name of the block.
begin string The HTML code that is displayed in front of the block, when the block exists.
end string The HTML code that is displayed at the end of the block, when the block exists.

Structure 'webtemplateimageblock'

Name Type Description
width int The width of the imageblock.
height int The height of the imageblock.
maxwidth int The maxwidth of the imageblock.
maxheight int The maxheight of the imageblock.
minwidth int The minwidth of the imageblock.
minheight int The minheight of the imageblock.
id string The ID of the block.
name string The name of the block.
begin string The HTML code that is displayed in front of the block, when the block exists.
end string The HTML code that is displayed at the end of the block, when the block exists.

Structure 'emailingtemplateimageblock'

Name Type Description
width int The width of the imageblock.
height int The height of the imageblock.
maxwidth int The maxwidth of the imageblock.
maxheight int The maxheight of the imageblock.
minwidth int The minwidth of the imageblock.
minheight int The minheight of the imageblock.
id string The ID of the block.
name string The name of the block.
begin string The HTML code that is displayed in front of the block, when the block exists.
end string The HTML code that is displayed at the end of the block, when the block exists.

Structure 'emailingtemplateloopblock'

Name Type Description
miniterations int The minimum number of iterations.
maxiterations int The maximum number of iterations.
id string The ID of the block.
name string The name of the block.
begin string The HTML code that is displayed in front of the block, when the block exists.
end string The HTML code that is displayed at the end of the block, when the block exists.

Structure 'webtemplateloopblock'

Name Type Description
miniterations int The minimum number of iterations.
maxiterations int The maximum number of iterations.
id string The ID of the block.
name string The name of the block.
begin string The HTML code that is displayed in front of the block, when the block exists.
end string The HTML code that is displayed at the end of the block, when the block exists.