Audit
Record that a user opened or returned to the interface, for the audit log.
This operation records that a user is active. A client calls it when the user opens the interface, or activates a browser tab that has been idle for more than two hours, and the record then appears in the audit log.
It works only with a standard user session. Calling it with an API key returns error 4, "User or API key not found or session ended", even though the key itself is valid.
API actions
API base path: /user/audit.
Operations that list no errors of their own return only the general error codes.
Append a check-in record to the audit log for the current user. This writes an audit entry; it does not read one.
Requires a session hash. An API key is rejected with error code 4, "User or API key not found or session ended", which is misleading: the key is valid, but this operation accepts standard sessions only.
Also accepts GET with the same parameters as query-string values.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
Check-in recorded
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error response object
POST /v2/user/audit/checkin HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
"success": true
}More in this section
User audit log
Last updated
Was this helpful?