SendCharFax
Description
This is the simplest method to fax a textual fax. Input is assumed to be UTF-8. Also allows structured text documents, such as HTML, PostScript, etc.
Formal Definition
http://ws.interfax.net/dfs.asmx?op=SendCharFax
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) |
| Data | String | Data of the document (text documents only, no binary content) |
| FileType | String | e.g. TXT, HTML, PS, etc. Default is TXT |
Output
| Name | Type | Comments |
|---|---|---|
| SendCharFaxResult | Long | In case of successful submission - the value contains the TransactionID. In case of a failure, a negative value is returned. List of return codes is shown on Appendix A. |
