Close audit trail
This API call closes an audit trail 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 closed. Audit events can no longer be written to this audit trail.
Example API call
/servlets3/wietmsd?id=1459235445109&target=audittrail&action=close
Parameters
| Parameter | Description |
|---|---|
target | audittrail |
action | close |
id | A 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>29</min>
<sec>16</sec>
<offset>-2</offset>
</start-time>
</event>
Returns
- On success
- Returns nothing
- On failure
- Returns nothing