4.3 ww.dll API Reference : API descriptions : Functions with database access : createaccess
 
createaccess
 
Description
createaccess is provided for convenience. It simply calls createpass with <access>1</access> specified. For more information on parameters, see createpass.
 
Input fields
 
XML tag
Description
<guest_no>
Guest number. (If used, it is ignored.)
<department>
<item> department.
<category>
<item> category.
<item>
Item.
<start_date>
Optional. Start date.
<expires>
Optional. Expiration date.
<other field>
Optional. Any field from the gst_pass or access table.
 
Return fields
 
XML tag
Description
<pass_no>
New pass number.
 
Example
 
Example invocation:
<func>createaccess</func><start_date>06-07-2007</start_date><department>PASSES</department>
<category>EMPLOYEE</category><item>EMPLOYEE</item>
<amt_paid>399.95</amt_paid><points1>2</points1>
 
Example return string:
OK :<pass_no>11000001</pass_no>
 
See also
createpass