Documentation Center

Open audit trail

This API call opens a new audit trail instance based on the publication, collection, and session ID. The API call must include a XML post that has the date and time at which the audit trail was opened. Once an audit trail has been opened, then the Log Audit Event API call is available to write any type of event into the audit trail.

Example API call

/servlets3/wietmsd?id=1459236144133&target=audittrail&action=open

Parameters

ParameterDescription
targetaudittrail
actionopen
idA session ID that is valid for this collection and publication combination.

XML post data

This API call requires XML post data to complete. An example of that XML data is given here.

<event>
     <start-date>
          <day>4</day>
          <month>4</month>
          <year>2017</year>
     </start-date>
     <start-time>
          <hour>13</hour>
          <min>23</min>
          <sec>37</sec>
          <offset>-2</offset>
     </start-time>
</event>

Returns

On success
Returns nothing
On failure
Returns nothing