Class ILicensingSubscriptionsExtensions
- Namespace
- Meraki.Api.Extensions
- Assembly
- Meraki.Api.dll
public static class ILicensingSubscriptionsExtensions
- Inheritance
-
ILicensingSubscriptionsExtensions
- Inherited Members
Methods
GetAdministeredLicensingSubscriptionSubscriptionsAllAsync(ILicensingSubscriptions, List<string>?, List<string>?, List<string>?, List<string>?, string?, string?, CancellationToken)
List available subscriptions
public static Task<List<LicensingSubscriptionSubscription>> GetAdministeredLicensingSubscriptionSubscriptionsAllAsync(this ILicensingSubscriptions licensingSubscriptions, List<string>? subscriptionIds, List<string>? organizationIds, List<string>? statuses, List<string>? productTypes, string? startDate, string? endDate, CancellationToken cancellationToken = default)
Parameters
licensingSubscriptions
ILicensingSubscriptionssubscriptionIds
List<string>List of subscription ids to fetch
organizationIds
List<string>Organizations to get associated subscriptions for
statuses
List<string>List of statuses that returned subscriptions can have
productTypes
List<string>List of product types that returned subscriptions need to have entitlements for.
startDate
stringFilter subscriptions by start date, ISO 8601 format. To filter with a range of dates, use 'startDate[]=?' in the request. Accepted options include lt, gt, lte, gte.
endDate
stringFilter subscriptions by end date, ISO 8601 format. To filter with a range of dates, use 'endDate[]=?' in the request. Accepted options include lt, gt, lte, gte.
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call