Interface IOrganizationSensorGatewaysConnectionsLatest
- Namespace
- Meraki.Api.Interfaces.Products.Sensor
- Assembly
- Meraki.Api.dll
I Organization Sensor Gateways Connections Latest
public interface IOrganizationSensorGatewaysConnectionsLatest
Methods
GetOrganizationSensorGatewaysConnectionsLatestAsync(string, int?, string?, string?, List<string>?, CancellationToken)
Returns latest sensor-gateway connectivity data.
[Get("/organizations/{organizationId}/sensor/gateways/connections/latest")]
Task<List<SensorReadingLatest>> GetOrganizationSensorGatewaysConnectionsLatestAsync(string organizationId, int? perPage, string? startingAfter = null, string? endingBefore = null, List<string>? sensorSerials = null, CancellationToken cancellationToken = default)
Parameters
organizationIdstringThe organization id.
perPageint?The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
startingAfterstringA 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.
endingBeforestringA 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.
sensorSerialsList<string>List of sensor serials to filter connectivity data by sensor.
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call