Panel | ||||
---|---|---|---|---|
|
...
Universal Controller supports the following RESTful-based web service for Universal Events.
...
Formatting specifications for the web service, including details about parameter requirements, are provided.
Authorization to publish a Universal Event is assigned by the Universal Event Create permission, or by the ops_admin role.
Note | ||
---|---|---|
| ||
When publishing Universal Events through the Web Service API, take into consideration both Universal Controller server and Database server sizings. |
Anchor | ||||
---|---|---|---|---|
|
...
Publish Universal Event
...
Description | |
URI | http://host_name/uc/resources/universalevent/publish |
Description | Publsh a global Universal Event. |
HTTP Method | POST |
Example URI | http://localhost:8080/uc/resources/audituniversalevent/listpublish |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | n/a |
Example Responses |
|
Anchor | ||||
---|---|---|---|---|
|
...
Publish Universal Event
...
: XML and JSON
...
Example Request
Property
UI Field Name
Description
Specifications
Required
Valid values: One of the following (not case sensitive):
- As String = Create, As Value = 1
- As String = Update, As Value = 2
- As String = Delete, As Value = 3
- As String = Command, As Value = 4
- As String = Server Operation, As Value = 5
- As String = CLI, As Value = 6
- As String = Restore Version, As Value = 7
- As String = Delete Version, As Value = 8
- As String = User Login, As Value = 9
- As String = z/OS Auto-Restart, As Value = 10
- As String = Delete Override File, As Value = 11
- As String = Import, As Value = 12
- As String = Export, As Value = 13
- As String = Email, As Value = 14
Valid values: One of the following (not case sensitive):
- As String = User Interface, As Value = 1
- As String = Command Line, As Value = 2
- As String = Web Service, As Value = 3
- As String = System Operation, As Value = 4
- As String = Set Variable Action, As Value = 5
- As String = Task Instance, As Value = 6
- As String = Agent Message, As Value = 7
- As String = Scheduled, As Value = 8
- As String = Stored Procedure, As Value = 9
- As String = System Processing, As Value = 10
- As String = Email Notification, As Value = 11
updatedTimeType
= Offset; -offset period.Valid values:
- mn (minutes)
- h (hours)
- d (days)
Default is d.
Examples: -5d (last 5 days), -30mn (last 30 minutes), -6h (last 6 hours), -7 (last 7 days).
If updatedTimeType
is Since; date/time value (yyyy-MM-dd [HH:mm:ss])
If updatedTimeType
is Today; updatedTime
is ignored.
(if
updatedTimeType
is
Offset
, Since
, or
Older Than
.)updateTime
.Valid values:
- As String = Today, As Value = 1
- As String = Offset, As Value = 2
- As String = Since, As Value = 3
- As String = Older Than, As Value = 4
Created By
Name of the person created the record.
Status of the record
boolean property
Valid values: true, false, 1, 0
XML Request | JSON Request | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Universal Event Publishing: Request Properties
|