get

Retreives the XML of a single audit trail by session ID, or the audit trail of the current session.

Parameters

action
get
session
The session ID (unique key) of the audit trail to retrieve. If session is not provided, the audit trail for the current session is retrieved.

Example URL

http://<host>:<port>/<context>/web/audit.xql?action=get&session=<value>

Successful Result

The audit trail XML, with a root <Audit> element, and one <event> element for each audited event.

Failed Result

Accessing an audit trail which was not created by the current session requires the "Manage application" permission, and the function will throw a permission exception if the permission is not available.