Interface IWebhookService
- Namespace
- JJConsulting.Infinity.Domain.Contracts
- Assembly
- JJConsulting.Infinity.Domain.dll
public interface IWebhookService
Methods
DeleteAsync(Guid)
Task<InfinityResult> DeleteAsync(Guid id)
Parameters
id Guid
-
Returns
- Task<InfinityResult>
-
GetAllAsync()
Task<List<WebhookModel>> GetAllAsync()
Returns
- Task<List<WebhookModel>>
-
GetByIdAsync(Guid)
Task<WebhookModel> GetByIdAsync(Guid id)
Parameters
id Guid
-
Returns
- Task<WebhookModel>
-
SetApplicationWebhookAsync(ApplicationWebhookRequest)
Task<InfinityResult<Guid>> SetApplicationWebhookAsync(ApplicationWebhookRequest webhook)
Parameters
webhook ApplicationWebhookRequest
-
Returns
- Task<InfinityResult<Guid>>
-
SetApplicationWebhookAsync(StaticUrlWebhookRequest)
Task<InfinityResult<Guid>> SetApplicationWebhookAsync(StaticUrlWebhookRequest webhook)
Parameters
webhook StaticUrlWebhookRequest
-
Returns
- Task<InfinityResult<Guid>>
-