You are here: Fax API > Fax Web Service > Outbound Fax Reference > SOAP Method Reference > SendCharFax
Outbound Fax Reference
SendCharFax
Description
This is the simplest method to fax ASCII text. 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) |
| FileType | String | e.g. DOC, 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. |