SOAP API method EmailingDocumentAttachment_file
Description
This method will return a file object if the attachment is of the type 'file'.
Parameters
| Name | Type | Description |
|---|---|---|
| id * | int | Unique identifier (id) of the object EmailingDocumentAttachment. The method only applies to the emailingdocumentattachment 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 |
| login | Structure of type 'login' | Optional login data (soon deprecated) |
| access_token | string | Optional api access token |
| * required parameters | ||
Return values
| Name | Type | Description |
|---|---|---|
| file | Structure of type '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 '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. |