Table of Contents

Class IOrganizationsInventoryDevicesExtensions

Namespace
Meraki.Api.Extensions
Assembly
Meraki.Api.dll
public static class IOrganizationsInventoryDevicesExtensions
Inheritance
IOrganizationsInventoryDevicesExtensions
Inherited Members

Methods

GetOrganizationInventoryDevicesAllAsync(IOrganizationsInventoryDevices, string, string?, string?, List<string>?, List<string>?, List<string>?, List<string>?, List<string>?, List<string>?, TagsFilterType?, List<ProductType>?, CancellationToken)

Get all networks that the user has privileges on in an organization

public static Task<List<InventoryDevice>> GetOrganizationInventoryDevicesAllAsync(this IOrganizationsInventoryDevices organizationInventoryDevices, string organizationId, string? usedState = null, string? search = null, List<string>? macs = null, List<string>? networkIds = null, List<string>? serials = null, List<string>? models = null, List<string>? orderNumbers = null, List<string>? tags = null, TagsFilterType? tagsFilterType = null, List<ProductType>? productTypes = null, CancellationToken cancellationToken = default)

Parameters

organizationInventoryDevices IOrganizationsInventoryDevices
organizationId string

The organization id

usedState string

Filter results by used or unused inventory. Accepted values are "used" or "unused".

search string

Search for devices in inventory based on serial number, mac address, or model.

macs List<string>
networkIds List<string>
serials List<string>
models List<string>
orderNumbers List<string>
tags List<string>
tagsFilterType TagsFilterType?
productTypes List<ProductType>
cancellationToken CancellationToken

Returns

Task<List<InventoryDevice>>

Exceptions

ApiException

Thrown when fails to make API call