Report Webservice

Get audit feed

Get the latest audit logs for organization

post/api/report/getAuditFeed

Request

  • Base URL: https://api2.rhombussystems.com
  • URL: https://api2.rhombussystems.com/api/report/getAuditFeed
  • Auth: API key in header x-auth-apikey

Headers

x-auth-scheme'api-token' | 'api' | 'partner-api-token' | 'partner-api' required

Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.

Request body

excludeActionsAuditActionEnum[] nullable

If not empty, events with actions specified in the list are filtered out. If both include and exclude actions are specified, exclude actions are ignored.

includeActionsAuditActionEnum[] nullable

If not empty, only events with actions specified in the list are returned. If both include and exclude actions are specified, exclude actions are ignored.

timestampMsAfterinteger nullable

Timestamp in milliseconds after which to get audit events

timestampMsBeforeinteger nullable

Timestamp in milliseconds before which to get audit events

Example request

{
  "timestampMsAfter": 1640995200000,
  "timestampMsBefore": 1640998800000
}

Response

OK

errorboolean nullable
errorCodestring nullable

Stable, machine-readable code for the failure (one of the ApiErrorCode catalog) when error is true. Branch on this, not on errorMsg.

errorMsgstring nullable
warningMsgstring nullable

Example response

{
  "auditEvents": [
    {
      "displayText": "User login successful",
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "principalUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "targetUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.