Panel | |
---|---|
|
...
Description | |
---|---|
URI | http://host_name/uc/resources/webhook/enable |
HTTP Method | POST |
Description | Disables a webhook. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Request | http://localhost:9090/uc/resources/webhook/disable?webhookname= http://localhost:9090/uc/resources/webhook/disable?webhookid= |
Example Response |
Disable a Webhook: Query Parameters
...
Description | |
---|---|
URI | http://host_name/uc/resources/webhook/enable |
HTTP Method | POST |
Description | Enables a webhook. |
Example URI | |
Authentication | HTTP Basic |
Consumes Content-Type | n/a |
Produces Content-Type | application/xml, application/json |
Example Request | http://localhost:9090/uc/resources/webhook/enable?webhookname= http://localhost:9090/uc/resources/webhook/enable?webhookid= |
Example Response |
Enable a Webhook: Query Parameters
...
Description | |
---|---|
URI | http://host_name/uc/resources/webhook/list |
HTTP Method | GET |
Description | List webhook registrations. |
Example URI | http://localhost:8080/uc/resources/webhook/list?webhookname= http://localhost:8080/uc/resources/webhook/list?action= http://localhost:8080/uc/resources/webhook/list?description= |
Authentication | HTTP Basic |
Produces Content-Type | application/xml, application/json |
Consumes Content-Type | n/a |
Example Responses | List Webhook: XML and JSON Examples. |
...
Description | |
---|---|
URI | http://host_name/uc/resources/webhook |
HTTP Method | PUT |
Description | Modify a webhook. |
Example URI | |
Authentication | HTTP Basic |
Payload Properties | See Register a Webhook: Payload Properties. |
Produces Content-Type | application/xml, application/json |
Consumes Content-Type | application/xml, application/json |
Example Responses |
|
...
Register a Webhook: Payload Properties
Property | UI Field Name | Description | Specifications | Required | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Webhook Name | Name of the Webhook. | Y | |||||||||||||
| Description | User-defined; description of this record. | N | |||||||||||||
| Member of Business Services | Business Services that this record belongs to.
JSON
| N | |||||||||||||
| n/a | Specification for whether or not the Create a Webhook web service will persist the sysId property.
Note In XML web services, | Valid values: true/false (default is true). | N | ||||||||||||
| Action | Type of Action to perform | Valid Values:
Default is URL (1). | Y | ||||||||||||
| Event | Universal Event Template name. XML
JSON
| The | Y |
filter
Event Criteria
Universal Event criteria to to execute the webhook.
N
| URL | full URL of the action to be executed. (Including parameters) | Y (if action | ||||||
| Task | Task of the action to be executed. (Including parameters) | Y (if action | ||||||
| HTTP Authentication | HTTP authentication scheme to use. | Valid values:
Default is None (0). | N | |||||
| Credentials | Credentials to be used to authenticate. | N | ||||||
| HTTP Headers | HTTP headers. | Format:
| N | |||||
| URL Query Parameters | Any query parameters to be encoded as a query string and appended to the URL. | Format: |
| N |
credentials
|
Credentials
title | XML |
---|
Event Attribute Criteria | Universal Event criteria to execute the Webhook. | N |
Register a Webhook: Example Request
| Event Business Service Criteria | Specifies the type of business service filtering to apply when monitoring on Universal Events. | Valid values (case-insensitive):
Default is Member of Any Business Service or Unassigned (1). | N | ||||||||||
| Event Member of Business Services | Specifies one or more business services to filter on when Event Business Service Criteria is one of the following.
| Format: XML
JSON
|
Register a Webhook: Example Request
XML Request | JSON Request | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
...