Back to API references

SOAP API method WebTemplate_source

Description

If you supply a linkprovider object, this method will return the source code that is optimized for displaying, the image names are replaced with actual hyperlinks, and the stylesheet is applied. If no linkprovider is provided, the source is returned as-is.

Parameters

Name Type Description
id * int Unique identifier (id) of the object WebTemplate. The method only applies to the webtemplate with this id.
links string How should links be handled? Show normal file names (links=names) (this is default), show links to the picserver (links=urls) or show the unique identifiers of each option (links=ids), or return the raw source without any optimization (links=raw)
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
value string

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