Table of Contents

Class IOrganizationDevicesExtensions

Namespace
Meraki.Api.Extensions
Assembly
Meraki.Api.dll

Extension methods for IOrganization Devices

public static class IOrganizationDevicesExtensions
Inheritance
IOrganizationDevicesExtensions
Inherited Members

Methods

GetOrganizationDevicesAvailabilitiesChangeHistoryAllAsync(OrganizationsDeviceSection, string, string?, string?, int?, List<string>?, List<string>?, List<string>?, List<string>?, CancellationToken)

Returns a historical log of all commands.

public static Task<List<OrganizationDevicesAvailabilitiesChangeEvent>> GetOrganizationDevicesAvailabilitiesChangeHistoryAllAsync(this OrganizationsDeviceSection organizationDevices, string organizationId, string? t0 = null, string? t1 = null, int? timespan = null, List<string>? serials = null, List<string>? productTypes = null, List<string>? networkIds = null, List<string>? statuses = null, CancellationToken cancellationToken = default)

Parameters

organizationDevices OrganizationsDeviceSection
organizationId string

Organization ID.

t0 string

The beginning of the timespan for the data. The maximum lookback period is 30 days from today.

t1 string

The end of the timespan for the data. t1 can be a maximum of 30 days after t0.

timespan int?

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 30 days. The default is 1 day.

serials List<string>

Optional parameter to filter by serial numbers.

productTypes List<string>

Optional parameter to filter by product types.

networkIds List<string>

Optional parameter to filter by network IDs.

statuses List<string>

Optional parameter to filter by device statuses.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<List<OrganizationDevicesAvailabilitiesChangeEvent>>

A list of SensorCommand.