SOAP API methode EmailingDocument_createAttachment

Terug naar de indexpagina

Beschrijving
Add an attachment to the document

Parameters
Parameter 'id' : int
Unique identifier (id) of the object EmailingDocument. The method only applies to the emailingdocument with this id.
Parameter 'personalize_profile' : int
Profile ID for which the object should be personalized
Parameter 'personalize_subprofile' : int
Subprofile ID for which the object should be personalized
Parameter 'personalize_timestamp' : string
The timestamp for the personalization
Parameter 'filedata' : Structure of type 'filedata'
Parameter 'pdfdocument' : Structure of type 'pdfdocument'
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'emailingdocumentattachment' : Structure of type 'emailingdocumentattachment'

Structuur 'filedata'
De structuur 'filedata' is hierboven vermeld. Deze structuur heeft de volgende properties:
Eigenschap 'name' : string
The name of the data of the file.
Eigenschap 'mimetype' : string
The mimetype of the data of the file.
Eigenschap 'data' : binary
The data of the file. The data is base64 encoded.

Structuur 'pdfdocument'
De structuur 'pdfdocument' is hierboven vermeld. Deze structuur heeft de volgende properties:
Eigenschap 'status' : string
Status of the document.
Eigenschap 'pagecount' : int
The number of pages in the document.
Eigenschap 'size' : int
The size of the document.
Eigenschap 'faxheader' : string
The headerline above the fax.
Eigenschap 'temporary' : boolean
Is this document set as a temporary document. The document will be removed when there are no
Eigenschap 'id' : int
The ID of the document.
Eigenschap 'templateID' : int
The template ID of the document
Eigenschap 'name' : string
The name of the document.
Eigenschap 'description' : string
The description of the document.
Eigenschap 'archived' : boolean
Is this an archived document?.
Eigenschap 'created' : timestamp
The date and time when the document was created.
Eigenschap 'modified' : timestamp
The date and time when the document was last modified.
Eigenschap 'language' : string
The language of the document.
Eigenschap 'timezone' : string
Get the time zone of the document. If the timezone is not set, it returns

Structuur 'login'
De structuur 'login' is hierboven vermeld. Deze structuur heeft de volgende properties:
Eigenschap 'username' : string
The username of the login attempt
Eigenschap 'account' : string
The account name of the login attempt
Eigenschap 'password' : string
The password for the login attempt

Structuur 'emailingdocumentattachment'
De structuur 'emailingdocumentattachment' is hierboven vermeld. Deze structuur heeft de volgende properties:
Eigenschap 'type' : string
The type of the attachment.
Eigenschap 'id' : int
The ID of the file.
Eigenschap 'mimetype' : string
The mimetype of the file.
Eigenschap 'hashcode' : string
Expose the file hashcode
Eigenschap 'data' : binary
The data of the file. The data is base64 encoded.
Eigenschap 'name' : string
The filename of the file.
Eigenschap 'size' : int
The size of the file.