Table of Contents

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

organizationId string
request OrganizationWebhookTestCreateRequest
cancellationToken CancellationToken

Returns

Task<OrganizationWebhookTest>

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

organizationId string
webhookTestId string
cancellationToken CancellationToken

Returns

Task<OrganizationWebhookTest>

Exceptions

ApiException

Thrown when fails to make API call