...
- Assign an Execution User to a Webhook
- Disable a Webhook
- Enable a Webhook
- Enable/Disable Multiple Webhooks
- List Webhooks
- Modify Webhooks
- Read a Webhook
- Register a Webhook
- Unassign an Execution User from a Webhook
- Unregister a Webhook
Formatting specifications for each web service, including details about parameter requirements, are provided.
...
Description | |
---|---|
URI | http://host_name/uc/resources/webhook |
HTTP Method | POST |
Description | Register a webhook. |
Example URI | |
Authentication | HTTP Basic |
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 | ||||||||||||
| 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 | ||||||||||||
| 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 to be used to authenticate | N |
Unassign an Execution User from a Webhook
Description | |
---|---|
URI | http://host_name/uc/resources/webhook/unassignexecutionuser |
HTTP Method | POST |
Description | Unassigns an Execution User to the specified webhook. |
Example URI | http://localhost:8080/uc/resources/webhook/unassignexecutionuser?webhookid= http://localhost:8080/uc/resources/webhook/unassignExecutionUser?webhookname= |
Authentication | HTTP Basic |
Consumes Content-Type | application/xml, application/json |
Produces Content-Type | N/A |
Example Request | See Unassign an Execution User to a Trigger: URI Parameters. |
Example Response |
|
...