Table of Contents

Interface INetworksWebhooksWebhookTests

Namespace
Meraki.Api.Interfaces.General.Networks
Assembly
Meraki.Api.dll
public interface INetworksWebhooksWebhookTests

Methods

CreateNetworkWebhooksWebhookTestAsync(string, WebhookTestRequest, CancellationToken)

Send a test webhook for a network

[Post("/networks/{networkId}/webhooks/webhookTests")]
Task<WebhookTestResponse> CreateNetworkWebhooksWebhookTestAsync(string networkId, WebhookTestRequest webhookTestRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

webhookTestRequest WebhookTestRequest

Body for creating a network HTTP server webhook test

cancellationToken CancellationToken

Returns

Task<WebhookTestResponse>

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkWebhooksWebhookTestAsync(string, string, CancellationToken)

Return the status of a webhook test for a network

[Get("/networks/{networkId}/webhooks/webhookTests/{webhookTestId}")]
Task<WebhookTestResponse> GetNetworkWebhooksWebhookTestAsync(string networkId, string webhookTestId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

webhookTestId string

The id of a webhook test

cancellationToken CancellationToken

Returns

Task<WebhookTestResponse>

Exceptions

ApiException

Thrown when fails to make API call