modifypass
Description
modifypass adds the ability to modify existing pass/access records to accommodate voids, returns, updated valid and blackout dates and updated usage. It takes <pass_no> and the following optional parameters: any field from the gst_pass or access table and <access>1</access> if this is to modify an access record.
Input fields
XML tag | Description |
<pass_no> | Pass number. |
<other field> | Any field from the gst_pass or access table. |
<access> | Optional. If true (1), modify access record. Boolean. |
Return fields
Status only.
Examples
Example invocation:
This call adds the specified blackout date to the specified pass record:
<func>modifypass</func><pass_no>5000001</pass_no><blackout_s>10/24/2007 12:00:00 AM</blackout_s><blackout_e>10/24/2007 11:59:50 PM</blackout_e>
This call voids the specified access record:
<func>modifypass</func><pass_no>5000001</pass_no>
<voided_for>THEFT</voided_for><voided_by>MATT</voided_by>
<access>1</access>
Example return string:
OK :
See also