Table of Contents

Interface IOrganizationsWebhooksLogs

Namespace
Meraki.Api.Interfaces.General.Organizations
Assembly
Meraki.Api.dll

Represents a collection of functions to interact with the API endpoints

public interface IOrganizationsWebhooksLogs

Methods

GetOrganizationWebhooksLogsAsync(string, string, string, double?, int?, string, string, string, CancellationToken)

Return the log of webhook POSTs sent

[Get("/organizations/{organizationId}/webhooks/logs")]
Task<List<WebhookLog>> GetOrganizationWebhooksLogsAsync(string organizationId, string t0 = null, string t1 = null, double? timespan = null, int? perPage = 1000, string startingAfter = null, string endingBefore = null, string url = null, CancellationToken cancellationToken = default)

Parameters

organizationId string

The organization id

t0 string

The beginning of the timespan for the data. The maximum lookback period is 90 days from today. (optional)

t1 string

The end of the timespan for the data. t1 can be a maximum of 31 days after t0. (optional)

timespan double?

The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. (optional)

perPage int?

The number of entries per page returned. Acceptable range is 3 - 1000. Default is 50. (optional)

startingAfter string

A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. (optional)

endingBefore string

A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. (optional)

url string

The URL the webhook was sent to (optional)

cancellationToken CancellationToken

Returns

Task<List<WebhookLog>>

Exceptions

ApiException

Thrown when fails to make API call