Versions Compared

Key

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

...

The Audit Universal Event Publishing web service is allowed only for users with the ops_admin role or ops_audit_view role.

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

...


Description
URIhttp://host_name/uc/resources/audituniversalevent/listpublish
DescriptionRetrieve the audit details using a specific filterPublsh a global Universal Event.

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

...

n/a
Example Responses
  • Status 200

    • Universal Event "{eventname}" published.

  • Status 400

    • Invalid Time To Live. Value must be non-negative or empty.

    • Universal Event attributes unknown for Universal Event Template "{eventname}".

    • Universal Event attribute name required.

    • Universal Event attribute "{attributename}" duplicated.

    • Universal Event attribute "{attributename}" unknown for Universal Event Template "{eventname}".

    • Universal Event attribute value "{attributevalue}" for attribute "{attributename}" is not a valid integer.

    • Universal Event attribute value "{attributevalue}" for attribute "{attributename}" is not a valid float.

  • Status 403

    • Operation prohibited due to security constraints.

  • Status 404

    • Universal Event Template "{eventname}" not found.

    • A universal template with id "{templateid}" does not exist.

  • Status 500

    • Unexpected request failure. See log(s) for more details.


Anchor
Universal Event Publishing Examples
Universal Event Publishing Examples
Universal Event Publishing: XML and JSON Examples

Universal Event Publishing: 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"
}

...