Audit Resource

GET /audit

Returns the Audit Log identified by the account of the currently connected user.

Request Parameters
name type description
action query is an optional filter parameter to get only audits corresponding to the given date. Input is one of the following values, a) "LOGIN", b) "CREATE", c) "UPDATE", d) "DELETE".
resultCode query is an optional filter parameter to get only audits with audit action resulted in true or false. Input is one of the following values, a) "TRUE", b) "FALSE".
startDate query is an optional filter parameter to get only audits that occurred on or after the given date. Input format "mm/dd/yyyy" example "12/01/2015".
stopDate query is an optional filter parameter to get only audits that occurred on or before the given date. Input format "mm/dd/yyyy", example "12/30/2015".
userName query is an optional filter parameter to get only audits corresponding to the given user. Input format is username string, example "edcAuditJohn"
Response Body
media type data type description
application/json AuditResult (JSON) The list of requested audits.
application/xml auditResult (XML)

Example

Request
GET /audit
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "audit" : [ {
    "id" : 12345,
    "accountId" : 12345,
    "occurredOn" : 12345,
    "userId" : 12345,
    "username" : "...",
    "sessionId" : "...",
    "entityId" : "...",
    "eventType" : "...",
    "eventResultCode" : "...",
    "eventResultFailure" : "...",
    "eventInput1" : "...",
    "eventInput2" : "...",
    "eventInput3" : "...",
    "eventOutput1" : "...",
    "eventOutput2" : "...",
    "eventOutput3" : "..."
  }, {
    "id" : 12345,
    "accountId" : 12345,
    "occurredOn" : 12345,
    "userId" : 12345,
    "username" : "...",
    "sessionId" : "...",
    "entityId" : "...",
    "eventType" : "...",
    "eventResultCode" : "...",
    "eventResultFailure" : "...",
    "eventInput1" : "...",
    "eventInput2" : "...",
    "eventInput3" : "...",
    "eventOutput1" : "...",
    "eventOutput2" : "...",
    "eventOutput3" : "..."
  } ]
}