|
|
Connector API The Connector API for NET SatisFAXtion offers developers a simple means of sending faxes, by creating structured text files, or "ASCII packets", that contain all of the sending parameters for a fax or fax broadcast. Originally developed as an interface to NET SatisFAXtion for FaxBack fax-on-demand products, this API is ideal for sending faxes from applications written in any language, and even those running on a mainframe or non-PC system. |
|
|
|
|
OverviewWith the Connector API enabled, the fax server periodically scans an order directory looking for new packets (i.e., files). The default order directory is C:\FaxBack\FaxServr\Orders. The fax server looks for files with extensions that begin with "T" or "S", for example, "NEWFAX.T02". The "S" extension stands for "single call", and is specialized for fax-on-demand applications, where a fax will be delivered on the same phone call that has been used to order documents using voice prompts. The "T" extension stands for "two call", which is named from the perspective of a fax-on-demand application where the fax will be delivered later, on a separate call. However, "T" packets can be submitted anytime by any application, to send faxes to one more more recipients. The contents of a "T" order packet must include a fax number and fax contents (cover page, attachments, or both). Orders can also be scheduled for delivery at a later date and time. The format of a packet is similar to an .INI file, consisting of sections with each parameter being on a line by itself, for example:
[OrderPacket] After an order has been processed, it will either be deleted, or if a "completion directory" has been defined, it will be moved into the completion directory and renamed with an extension that begins with "P". Completed order packets include a [Logging] section that contains information about the delivery of the fax message, for example:
[Logging] Completed orders ("P" packets) are opened by an application and the results are read from the [Logging] section, after which the "P" packet is deleted. SummaryThe Connector API is one of the easiest ways to send faxes with NET SatisFAXtion. All your application needs is the ability to create an ASCII file in the order directory.
For detailed information about the the Connector API, download |
|
|
|