Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Universal Controller supports the following RESTful-based web service for Audits.

Users with the ops_admin role or ops_audit_view role can use Audit Web Services for all Audit records. 

...

Formatting specifications for the web service, including details about parameter requirements, are provided.

Anchor
List Audit Records
List Audit Records

List Audit Records


Description
URIhttp://host_name/uc/resources/audit/list
DescriptionRetrieve the audit details using a specific filter.

HTTP Method

POST

Example URI

http://localhost:8080/uc/resources/audit/list
AuthenticationHTTP Basic
Consumes Content-Typeapplication/xml, application/json
Produces Content-Typeapplication/xml, application/json


Anchor
Audit Examples
Audit Examples

List Audit Records: XML and JSON Examples

List Audit Records: Example Request

XML Request

JSON Request


Expand
titleXML

<audit-filter>
    <auditType>create</auditType>
    <updatedTimeType>offset</updatedTimeType>
    <updatedTime>-10d</updatedTime>
    <status>*</status>
    <createdBy>ops.system</createdBy>
    <tableRecordName>Administrator</tableRecordName>
    <tableName>ops_user</tableName>
    <source>Web Service</source>
    <tableKey>51b13fca5b8541418cd17cdd97c95b87</tableKey>
    <includeChildAudits>false</includeChildAudits>
</audit-filter>



Expand
titleJSON

{
    "auditType" : "9",
    "updatedTimeType" : "offset",
    "updatedTime" : "-10d",
    "status" : "*",
    "createdBy" : "ops.system",
    "tableRecordName" : "Administrator",
    "tableName" : "ops_user",
    "source" : "Web Service",
    "tableKey" : "51b13fca5b8541418cd17cdd97c95b87",
    "includeChildAudits" : "false"
}


List Audit Records: Request Properties

...