IWebhookController
is defined in the Telligent.Evolution.Extensibility.Webhooks.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IWebhookController { bool HasSubscribers(Guid webHookEventId); void Register(IWebhookEvent definition); void Send(Guid webHookEventId, Object eventData); }
Methods
bool HasSubscribers(Guid webHookEventId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
webHookEventId | Guid | Web Hook Event Id | Required |
Return Type
bool
void Register(IWebhookEvent definition);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
definition | IWebhookEvent | Definition | Required |
void Send(Guid webHookEventId, Object eventData);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
webHookEventId | Guid | Web Hook Event Id | Required | ||
eventData | Object | Event Data | Required |