update
Adds a new event element to the user's current audit trail. Note that this will create a new audit trail if one does not already exist.
Parameters
- action
- update
- xml
-
XML post-data sent to the API function. This should be an
<event>element which will be inserted at the end of the current user's audit trail.
Example URL
http://<host>:<port>/<context>/web/audit.xql?action=update&xml=<value>
Successful Result
This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.
Failed Result
In the case of an error, this function returns a standard API result element with a non-zero statusCode (such as, <result status='FAIL' statusCode='200' message='Localized Failure Message' messageKey='message.key'/>). Refer to API Error Code Reference.