SendFax

Description

This is the simplest method to fax an attached file.

Formal Definition

http://ws.interfax.net/dfs.asmx?op=Sendfax

Input

Name Type Comments
Username String As provided during registration
Password String As provided during registration
FaxNumber String The destination fax number in standard international notation e.g. +44-207-3456789 (see Appendix B)
FileData base64Binary Binary data of the document.

Note: Your development environment may automatically pick up this property's data type and implicitly encode it in base64 without you needing to do so explicitly. For example, PHP5 does this.

FileType String The file type of the submitted file, e.g. TXT, HTML, DOC, PDF, etc. Can be any one of the file types supported by InterFAX. (If TXT, the character set is taken from control panel setting Preferences -> Outgoing -> Default text charset encoding.)

Output

Name Type Comments
SendfaxResult Long In case of successful submission - the value contains a Transaction ID. In case of a failure, a negative value is returned. List of return codes is shown on Appendix A.

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today