Back to API references

SOAP API method Account_createFont

Description

A font is specially for the pdf module. If there is not a default font used into the pdftemplate of pdfdocument, it has to be uploaded into the account. This method will add a new font into this account.

Parameters

Name Type Description
name * string Name
filedata * Structure of type 'filedata' Outlinefile
filedata Structure of type 'filedata' Metricfile (metric file is optional)
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Return values

Name Type Description
font Structure of type 'font'

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 '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 '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 'font'

Name Type Description
id int The ID of the font.
name string The name of the font.