Hello, I am attempting to collect data from the API call 'getDeviceLossAndLatencyHistory', specifically the "losspercent" response. I have tried making the call via Python (script below) and directly on the Meraki Devnet portal (Cisco Meraki - Create with the Meraki Platform) but the response is [] for both methods. All of the other calls that I have tried return the expected data, just this one gives the empty response. I have tried using different network ID, Serial, and IP sets. I have also tried entering different timespan and resolution parameters with the same result. There are a couple of other articles listed here, but they didn't seem to have pertinent answers. If anyone can assist with this it would be greatly appreciated. import requests import json BASE_URL = 'https://api.meraki.com/api/v1' headers = { 'X-Cisco-Meraki-API-Key': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' } RESOURCE = '/organizations' call_response = requests.get('https://api.meraki.com/api/v1/networks/L_xxxxxxxxxxxxxxxx/devices/XXXX-XXXX-XXXX/lossAndLatencyHistory?ip=xxx.xxx.xxx.xxx×pan=90', headers = headers) parsed_response = json.loads(call_response.text) print(parsed_response)
... View more