Class CrmScriptWebhookPlugin
Webhooks for CRM Scripts. Call the scripts identified by the include id.
Implements
Namespace: SuperOffice.CRM.Webhooks
Assembly: SoDataBase.dll
Syntax
[CustomWebhookPlugin("CrmScript")]
public class CrmScriptWebhookPlugin : Object, ICustomWebhookPlugin, IPlugin
Constructors
CrmScriptWebhookPlugin()
Webhooks for CRM Scripts. Call the scripts identified by the include id.
Declaration
public CrmScriptWebhookPlugin()
Methods
Notify(Webhook, WebhookPayload)
Broadcast the event to all subscribers, and mark failures/success status on the passed webhook objects.
Declaration
public WebhookResponse Notify(Webhook webhook, WebhookPayload eventInfo)
Parameters
Type | Name | Description |
---|---|---|
Webhook | webhook | Inform the given webhook that the event has occurred. |
WebhookPayload | eventInfo | Event name, unique id and details |
Returns
Type | Description |
---|---|
WebhookResponse | Success/Failure information. NULL is taken as SUCCESS |
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)