View Source
Class WebhookRequestService
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class WebhookRequestService : IWebhookRequestService
Constructors
View Source
WebhookRequestService(ICoreScopeProvider, IWebhookRequestRepository, IJsonSerializer)
Declaration
public WebhookRequestService(ICoreScopeProvider coreScopeProvider, IWebhookRequestRepository webhookRequestRepository, IJsonSerializer jsonSerializer)
Parameters
Methods
View Source
CreateAsync(Guid, String, Object)
Declaration
public async Task<WebhookRequest> CreateAsync(Guid webhookKey, string eventAlias, object payload)
Parameters
Type |
Name |
Description |
Guid |
webhookKey |
|
System.String |
eventAlias |
|
System.Object |
payload |
|
Returns
View Source
DeleteAsync(WebhookRequest)
Declaration
public async Task DeleteAsync(WebhookRequest webhookRequest)
Parameters
Returns
View Source
GetAllAsync()
Declaration
public Task<IEnumerable<WebhookRequest>> GetAllAsync()
Returns
View Source
UpdateAsync(WebhookRequest)
Declaration
public async Task<WebhookRequest> UpdateAsync(WebhookRequest webhookRequest)
Parameters
Returns