Interface IOrganizationsWebhooksWebhookTests
- Namespace
- Meraki.Api.Interfaces.General.Organizations
- Assembly
- Meraki.Api.dll
I Organizations Webhooks Webhook Tests
public interface IOrganizationsWebhooksWebhookTests
Methods
CreateOrganizationWebhooksWebhookTestAsync(string, OrganizationWebhookTestCreateRequest, CancellationToken)
Send a test webhook for an organization
[Post("/organizations/{organizationId}/webhooks/webhookTests")]
Task<OrganizationWebhookTest> CreateOrganizationWebhooksWebhookTestAsync(string organizationId, OrganizationWebhookTestCreateRequest request, CancellationToken cancellationToken = default)
Parameters
organizationIdstringrequestOrganizationWebhookTestCreateRequestcancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetOrganizationWebhooksWebhookTestAsync(string, string, CancellationToken)
Return the status of a webhook test for an organization
[Get("/organizations/{organizationId}/webhooks/webhookTests/{webhookTestId}")]
Task<OrganizationWebhookTest> GetOrganizationWebhooksWebhookTestAsync(string organizationId, string webhookTestId, CancellationToken cancellationToken = default)
Parameters
organizationIdstringwebhookTestIdstringcancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call