4.3 ww.dll API Reference : API descriptions : Functions with database access : modifyguest
 
modifyguest
 
Description
modifyguest modifies information for an existing guest.
Accepts password_pt, which is a plain text password that is correctly hashed and added to the passwords field in the guests table. The functions newguest and modifyguest also accept cc_swipe_pt and cc_number_pt. These accept plain text which is correctly hashed and added to the cc_swipe and cc_number fields, respectively, in the guests table.
 
Input fields
 
XML tag
Description
<guest_no>
Guest number.
<other field>
Any other field that exists in the guests table – e.g., <parent_no>. The contents of this tag are written into the corresponding field.
 
Return fields
Status only.
 
Examples
 
Example invocation:
<func>modifyguest</func><guest_no>26000001</guest_no>
<parent_no>16099001</parent_no>
 
Example return string:
OK :Function modifyguest did not return information
 
See also
None.