Fax fields and parameters
List of supported fields and parameters in XMLAPI for sending faxes.
Refer to the sample fax XMLAPI for reference.
Message fields
In the <fields>
container, specify the following information:
Subject | XML Path |
\faxmakerdata\fields\subject |
Type | String | |
Disposition | Optional | |
Details | Specify the subject of the fax. | |
Example |
<subject>This is a fax subject</subject> |
|
Schedule | XML Path | \faxmakerdata\fields\schedule |
Type | String | |
Disposition | Optional | |
Details |
Specify the date and time when to send the fax, in the following format: YYYY-MM-DD-HH:mm:ss Replace:
|
|
Example |
<schedule>2021-10-10-08:15:00</schedule> |
|
Priority | XML Path | \faxmakerdata\fields\priority |
Type | String | |
Disposition | Optional | |
Details |
Set message priority. Valid values are:
|
|
Example |
<priority>high</priority> |
|
Billing code | XML Path | \faxmakerdata\fields\billingcode |
Type | String | |
Disposition | Optional. Required when Billing is enabled. | |
Details | Sets the sender’s billing code of the message. | |
Example |
<billingcode>25</billingcode> |
|
Resolution | XML Path | \faxmakerdata\fields\resolution |
Type | String | |
Disposition | Optional | |
Details |
Use this parameter to specify the resolution of the fax. Valid values are:
|
|
Example |
<resolution>high</resolution> |
|
CoverpageA page containing information attached and sent as the first page of a fax. This page is customizable and can contain company logo and colors, sender and recipient information, fax details and more. | XML Path | \faxmakerdata\fields\coverpage |
Type | String | |
Disposition | Optional | |
Details |
By default, fax is sent using the default coverpage configured in GFI FaxMaker. Use this parameter to send fax using a particular coverpage. Key in the coverpage to use, using one of the following:
|
|
Example |
<coverpage>corporate</coverpage> |
|
Front covernote | XML Path | \faxmakerdata\fields\frontcovernote |
Type | String | |
Disposition | Optional | |
Details |
By default, fax is sent using the default Front covernote configured in GFI FaxMaker. Use this parameter to send fax using a particular Front covernote. Key in the Front covernote to use, using one of the following:
|
|
Example |
<frontcovernote>letterhead</frontcovernote> |
|
Fax lineA physical telephone line or software-based (FoIP) line, linked to a fax device (modem or ISDN/fax card). | XML Path | \faxmakerdata\fields\faxline |
Type | Number | |
Disposition | Optional | |
Details |
Use this parameter to request the fax to be sent on a particular fax line. Specify the fax line number as configured in GFI FaxMaker Configuration. NOTE: If the line is busy or unavailable, the fax is sent on another line. To send the fax strictly from a particular line, use the following attribute:
|
|
Example |
<faxline demandline="true">3</faxline> |
|
Header | XML Path | \faxmakerdata\fields\faxheader |
Type | String | |
Disposition | Optional | |
Details | Enter a custom personal header that is added to the fax header at the top of the fax. | |
Example |
<faxheader>This is a fax header</faxheader> |
|
Unique ID | XML Path | \faxmakerdata\fields\uid |
Type | String [255 Chars. max.] | |
Disposition | Optional | |
Details | Specify an identifier that is used to mark the message. Uniqueness of this identifier is up to the creator of the message. Maximum number of characters is 255. | |
Example |
<uid>3a5a90s7de3g20k9y4d5e7e6fse28se5e097</uid> |
|
TextAPI | XML Path | \faxmakerdata\fields\textapi |
Type | String | |
Disposition | Optional | |
Details | Used to specify a single line of TextAPI commands (including the '::' prefix). This field can be specified multiple times. | |
Example |
<textapi>::billingcode=25,line=3</textapi> |
|
Message body file | XML Path | \faxmakerdata\fields\bodyfile |
Type | Full path or filename | |
Disposition |
Optional NOTE: Either an attachment or a fax message body file is required. |
|
Details |
Uses the contents of the file as message body in the fax coverpage. Specify the body file in the following format:
NOTE: Ensure that the body file is fully stored in the appropriate location before storing the XMLAPI files in the pickup folder. If the body file is not accessible by GFI FaxMaker during pickup, the fax fails. Use the type attribute to specify the type of body file. Use one of the following attributes:
If no file type attribute is specified, message is entered as plain text. |
|
Example |
<bodyfile type="text/plain">c:\temp\bodyfile.txt</bodyfile> |
|
Attachment | XML Path | \faxmakerdata\fields\attachment |
Type | Full path or filename | |
Disposition |
Optional (maximum 60 attachments) NOTE: Either an attachment or a fax message body file is required. |
|
Details |
Attaches the contents of the file specified to the fax. Specify the body file in the following format:
NOTE: Ensure that attachment files are fully stored in the appropriate location before storing the XMLAPI files in the pickup folder. If attachments are not accessible by GFI FaxMaker during pickup, the fax fails. NOTE: Attachments are deleted after pickup, |
|
Example |
<attachment>c:\temp\document.doc</attachment> |
Sender fields
In the <sender>
container, specify the sender information as follows:
First name | XML Path | \faxmakerdata\sender\firstname |
Type | String | |
Disposition | Optional | |
Details | Sets the first name of the sender. | |
Example |
<firstname>John</firstname> |
|
Last name | XML Path | \faxmakerdata\sender\lastname |
Type | String | |
Disposition | Optional | |
Details | Sets the last name of the sender. | |
Example |
<lastname>Smith</lastname> |
|
Company | XML Path | \faxmakerdata\sender\company |
Type | String | |
Disposition | Optional | |
Details | Sets the company name of the sender. | |
Example |
<company>MyCompany Name</company> |
|
Department | XML Path | \faxmakerdata\sender\department |
Type | String | |
Disposition | Optional | |
Details | Sets the department of the sender. | |
Example |
<department>Sales</department> |
|
Phone number | XML Path | \faxmakerdata\sender\voicenumber |
Type | String | |
Disposition | Optional | |
Details | Sets the voice (phone) number of the sender. | |
Example |
<voicenumber>+1(800)1234 5678</voicenumber> |
|
Email address | XML Path | \faxmakerdata\sender\emailaddress |
Type | String | |
Disposition | Required | |
Details | Sets the email address of the sender. | |
Example |
<emailaddress>jsmith@mydomain.com</emailaddress> |
Fax recipient fields
In the <recipient>
container, specify the recipient information. For faxes, add a <fax>
container and a <recipient>
container.
For example:
<recipients>
<fax>
<recipient>
<faxnumber>+1 800 1234 5678</faxnumber>
</recipient>
</fax>
</recipients>
NOTE
A fax can also be sent to multiple recipients. For more information refer to Sending a fax to multiple recipients.
Insert other parameters and fields in the <recipient> container as follows:
First name | XML Path | \faxmakerdata\recipients\fax\recipient\firstname |
Type | String | |
Disposition | Optional | |
Details | Sets the first name of the recipient. | |
Example |
<firstname>Joe</firstname> |
|
Last name | XML Path | \faxmakerdata\recipients\fax\recipient\lastname |
Type | String | |
Disposition | Optional | |
Details | Sets the last name of the recipient. | |
Example |
<lastname>Bloggs</lastname> |
|
Company | XML Path | \faxmakerdata\recipients\fax\recipient\company |
Type | String | |
Disposition | Optional | |
Details | Sets the company name of the recipient. | |
Example |
<company>FaxRecipient Company Ltd.</company> |
|
Department | XML Path | \faxmakerdata\recipients\fax\recipient\department |
Type | String | |
Disposition | Optional | |
Details | Sets the department of the recipient. | |
Example |
<department>Marketing</department> |
|
Fax number | XML Path | \faxmakerdata\recipients\fax\recipient\faxnumber |
Type | String | |
Disposition | Required | |
Details | Sets the fax number of the recipient. | |
Example |
<faxnumber>+1(800)8765 4321</faxnumber> |
|
Phone number | XML Path | \faxmakerdata\recipients\fax\recipient\voicenumber |
Type | String | |
Disposition | Optional | |
Details | Sets the telephone (voice) number of the recipient. | |
Example |
<voicenumber>+1(800)8765 4444</voicenumber> |
|
Email address | XML Path | \faxmakerdata\recipients\fax\recipient\emailaddress |
Type | String | |
Disposition | Optional | |
Details | Sets the email address of the recipient. | |
Example |
<emailaddress>John@faxrecipientdomain.com</emailaddress> |
Sending a fax to multiple recipients
A fax can be sent to multiple recipients. To do this, include multiple <recipient>...</recipient>
containers. For example:
<recipients>
<fax>
<recipient>
<firstname>Bob</firstname>
<faxnumber>+1 800 1111 1111</faxnumber>
</recipient>
<recipient>
<firstname>John</firstname>
<faxnumber>+1 800 2222 2222</faxnumber>
</recipient>
</fax>
</recipients>