SOAP API method Account_createPdfTemplate
Description
An pdftemplate is a template for sending an fax or downloading a pdf. The pdftemplate can not send or download by itself, but an pdfdocument can be send. This method will create a new pdftemplate in this account.
Parameters
| Name | Type | Description | 
|---|---|---|
| name * | string | Name of the template | 
| login | Structure of type 'login' | Optional login data (soon deprecated) | 
| access_token | string | Optional api access token | 
| * required parameters | ||
Return values
| Name | Type | Description | 
|---|---|---|
| pdftemplate | Structure of type 'pdftemplate' | 
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 'pdftemplate'
| Name | Type | Description | 
|---|---|---|
| hashcode | string | Hashcode of the template | 
| source | binary | The source of the template. The data is base64 encoded. | 
| pagecount | int | The number of pages of the template. | 
| size | int | The size of the template. | 
| id | int | The ID of the template. | 
| name | string | The name of the template. | 
| description | string | The description of the template. | 
| archived | boolean | The template is archived. | 
| created | timestamp | When the template was created. | 
| modified | timestamp | When the template was last modified. | 
| language | string | The language of the template. | 
| timezone | string | Get the timezone of the template |