Back to API references

SOAP API method Style_file

Description

Get access to a single file, based on object or ID

Parameters

Name Type Description
id * int Unique identifier (id) of the object Style. The method only applies to the style with this id.
file Structure of type 'file'
profilefile Structure of type 'profilefile'
surveyfile Structure of type 'surveyfile'
medialibraryfile Structure of type 'medialibraryfile'
xsltfile Structure of type 'xsltfile'
stylesnapshotfile Structure of type 'stylesnapshotfile'
emailingtemplatefile Structure of type 'emailingtemplatefile'
webtemplatefile Structure of type 'webtemplatefile'
webdocumentfile Structure of type 'webdocumentfile'
emailingdocumentfile Structure of type 'emailingdocumentfile'
emailingdocumentsnapshotfile Structure of type 'emailingdocumentsnapshotfile'
emailingdocumentattachment Structure of type 'emailingdocumentattachment'
emailingdocumentsnapshotattachment Structure of type 'emailingdocumentsnapshotattachment'
stylefile Structure of type 'stylefile'
file integer
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
stylefile Structure of type 'stylefile'

Structure 'file'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'profilefile'

Name Type Description
author string The name of the person who uploaded the file.
created timestamp The timestamp when the file was uploaded for the first time.
modified timestamp The timestamp when the file was last modified.
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'surveyfile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'medialibraryfile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'xsltfile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'stylesnapshotfile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'emailingtemplatefile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'webtemplatefile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'webdocumentfile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'emailingdocumentfile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'emailingdocumentsnapshotfile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'emailingdocumentattachment'

Name Type Description
type string The type of the attachment.
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'emailingdocumentsnapshotattachment'

Name Type Description
type string The type of the attachment.
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

Structure 'stylefile'

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.

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

Name Type Description
id int The ID of the file.
mimetype string The mimetype of the file.
hashcode string Expose the file hashcode
data binary The data of the file. The data is base64 encoded.
name string The filename of the file.
size int The size of the file.