4.3 ww.dll API Reference : API descriptions : Functions with no database access : callez
 
callez
 
Description
The CallEZ function can connect to functions in any EZ (SalesEZ, BookEZ, etc.). Currently, tricklepass and tricklecard are the only supported functions.
 
Example:
<func>callez</func><ip>127.0.0.1</ip><port>4203</port><ezfunc>tricklepass</ezfunc><tclocation>test</tclocation><tnpassno>288003010</tnpassno><tcprefix> </tcprefix><tnnumvals>1</tnnumvals><ttscandatetime>2007-1-10 8:00:00</ttscandatetime>
OK :OK

The EZ must be running under Pool at the IP and port specified. ww.dll removes IP, port and timeout and the remaining information is passed along in the call to the EZ. tcoperator and tcsalespoint are filled in by ww.dll if not provided. This function requires that a user be very familiar with the operation of the EZs and is not fully documented.
The callez function for <ezfunc>tricklepass</ezfunc> also accepts <additno> in lieu of a pass number – the first matching record from access or gst_pass is sent.
 
Example:
<func>callez</func><ip>127.0.0.1</ip><port>4203</port><ezfunc>tricklepass</ezfunc><tclocation>test</tclocation><additno>101</additno><tcprefix>A</tcprefix><tnnumvals>1</tnnumvals><ttscandatetime>2008-1-10 8:00:00</ttscandatetime>
 
When calling callez and the function tricklepass, an acc_prefix and a pass_prefix can be specified (in lieu of tcprefix) so that the correct prefix gets sent along with the tickets / passes.
Input fields
 
XML tag
Description
<IP>
IP address of computer running Pool.
<port>
Port providing communications with the EZ.
<timeout>
Timeout in seconds. Defaults to 10 seconds if not specified.
<ezfunc>
EZ function.
Function-specific parameters
Contact Siriusware Technical Support.
 
Return fields
Information returned by EZ function.
 
Example
 
Example invocation:
<func>callez</func><ip>65.118.84.224</ip><port>4203</port><ezfunc>tricklepass</ezfunc>
<tclocation>test</tclocation><additno>135792468</additno><acc_prefix>A</acc_prefix>
<pass_prefix>P</pass_prefix><tnnumvals>1</tnnumvals><ttscandatetime>2008-2-22 14:00:00</ttscandatetime>
 
Example return string:
OK :OK
0-0-OK - PASS_NO: 376101000 - GUEST_NO: 212000000 - NAME: MICHAEL GUTTMAN - WARNINGS: 0 - PASSTABLE: GST_PASS
 
See also
None.