Table of Contents

Interface INetworksClientsTrafficHistory

Namespace
Meraki.Api.Interfaces.General.Networks
Assembly
Meraki.Api.dll
public interface INetworksClientsTrafficHistory

Methods

GetNetworkClientTrafficHistoryAsync(string, string, int?, string, string, CancellationToken)

Return the client's network traffic data over time

[Get("/networks/{networkId}/clients/{clientId}/trafficHistory")]
Task<List<ClientTrafficHistory>> GetNetworkClientTrafficHistoryAsync(string networkId, string clientId, int? perPage = 1000, string startingAfter = null, string endingBefore = null, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

clientId string

The client id

perPage int?

The number of entries per page returned. Acceptable range is 3 - 1000. (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)

cancellationToken CancellationToken

Returns

Task<List<ClientTrafficHistory>>

Exceptions

ApiException

Thrown when fails to make API call