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
stringThe network id
webhookTestRequest
WebhookTestRequestBody for creating a network HTTP server webhook test
cancellationToken
CancellationToken
Returns
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
stringThe network id
webhookTestId
stringThe id of a webhook test
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call