AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

WebhookController Members

The WebhookController type exposes the following members.

Constructors


  Name Description
Public method WebhookController
Initializes a new instance of the WebhookController class with a fresh WebhookSender for outbound webhook delivery.

Methods


  Name Description
Public method Dispose
Releases resources used by the controller — clears the cached AdvantageAPIProfile and chains into the base disposal. Shadows the base method so ACSP-specific state is always cleared before the WebAPI tear-down runs.
(Inherited from AdvantageApiContentController.)
Public method SendWebhook
Send out the payload to distination URL
Public method Subscribe
placeholder for allow admin to subscribe a webhook to AdvantageCSP the payload can be any json object which will contains data we need to handle this subscription logic