Terug naar de indexpagina

SOAP API methode EmailingDocument_createFile

Beschrijving

This method will add an file that is linked to the document directly.

Parameters

Naam Type Beschrijving
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
filedata * Structure of type 'filedata'
metadata * Collection of type 'metadata'
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* verplichte parameters

Resultaat

Naam Type Beschrijving
webdocumentfile Structure of type 'webdocumentfile'
emailingdocumentfile Structure of type 'emailingdocumentfile'

Structuur 'filedata'

Naam Type Beschrijving
name string The name of the data of the file.
mimetype string The mimetype of the data of the file.
data binary The data of the file. The data is base64 encoded.

Structuur 'pair'

Naam Type Beschrijving
key string
value string

Structuur 'metadata'

Naam Type Beschrijving
pair Structure of type 'pair'

Structuur 'login'

Naam Type Beschrijving
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

Structuur 'webdocumentfile'

Naam Type Beschrijving
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.

Structuur 'emailingdocumentfile'

Naam Type Beschrijving
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.