SOAP API method Account_createPdfTemplate

Back to API references

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
Parameter 'name' : string
Name of the template
Parameter 'login' : Structure of type 'login'
Optional login data

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

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'pdftemplate'
This structure pdftemplate was mentioned above. This structure has the following properties:
Property 'hashcode' : string
Hashcode of the template
Property 'source' : binary
The source of the template. The data is base64 encoded.
Property 'pagecount' : int
The number of pages of the template.
Property 'size' : int
The size of the template.
Property 'id' : int
The ID of the template.
Property 'name' : string
The name of the template.
Property 'description' : string
The description of the template.
Property 'archived' : boolean
The template is archived.
Property 'created' : timestamp
When the template was created.
Property 'modified' : timestamp
When the template was last modified.
Property 'language' : string
The language of the template.
Property 'timezone' : string
Get the timezone of the template