Show / Hide Table of Contents

Class CrmScriptWebhookPlugin

Webhooks for CRM Scripts. Call the scripts identified by the include id.

Inheritance
object
CrmScriptWebhookPlugin
Implements
ICustomWebhookPlugin
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Webhooks
Assembly: SoDataBase.dll
Syntax
[CustomWebhookPlugin("CrmScript")]
public class CrmScriptWebhookPlugin : ICustomWebhookPlugin

Constructors

CrmScriptWebhookPlugin()

Webhooks for CRM Scripts. Call the scripts identified by the include id.

Declaration
public CrmScriptWebhookPlugin()

Methods

NotifyAsync(Webhook, WebhookPayload, CancellationToken)

Broadcast the event to all subscribers, and mark failures/success status on the passed webhook objects.

Declaration
public Task<WebhookResponse> NotifyAsync(Webhook webhook, WebhookPayload eventInfo, CancellationToken cancellationToken)
Parameters
Type Name Description
Webhook webhook

Inform the given webhook that the event has occurred.

WebhookPayload eventInfo

Event name, unique id and details

CancellationToken cancellationToken
Returns
Type Description
Task<WebhookResponse>

Success/Failure information. NULL is taken as SUCCESS

Implements

ICustomWebhookPlugin

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top