Documentation Center

Load audit trail list XML

Loads an XML document describing the current list of audit trails that a user has stored on the system. The audit trail information is limited to the system IDs associated with each audit instance.

Example API call

/servlets3/wietmsd?id=1459235445109&book=s1000d_bike_41&collection=default&uniqid=1459179012180&target=audittrail&action=get_audittrail_records

Parameters

ParameterDescription
targetaudit
actionget_audittrail_records
uniqidTo prevent browser-side caching of data, especially with AJAX requests, it is important to make a URL unique. The most effective technique to accomplish this is to include a date parameter that is based on the time at which the call is made.
idA session ID that is valid for this collection and publication combination.
book The name of the publication, such as s1000d_bike_41.
collectionThe name of the collection that the publication is registered in, such as default.

Returns

On success
<audittrail_records>
     <header/>
	    <body>
		        <audit_record name='1459235161602-session.xml'>1459235161602-session</audit_record>
		        <audit_record name='1459235439392-session.xml'>1459235439392-session</audit_record>
	    </body>
</audittrail_records>
On failure
Returns nothing.