SOAP API method EmailingTemplate_createFile
Description
Create an file in the template.
Parameters
Name | Type | Description |
---|---|---|
id * | int | Unique identifier (id) of the object EmailingTemplate. The method only applies to the emailingtemplate with this id. |
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 |
* required parameters |
Return values
Name | Type | Description |
---|---|---|
webtemplatefile | Structure of type 'webtemplatefile' | |
emailingtemplatefile | Structure of type 'emailingtemplatefile' |
Structure 'filedata'
Name | Type | Description |
---|---|---|
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. |
Structure 'pair'
Name | Type | Description |
---|---|---|
key | string | |
value | string |
Structure 'metadata'
Name | Type | Description |
---|---|---|
pair | Structure of type 'pair' |
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 '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 '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. |