I've tried make a request like
https://api.meraki.com/api/v1/networks/{networkid}/devices
As a response I always get an empty array, but in the dashboard there are 30 devices associated with the network
with the uses network id?
What could be wrong?
Thanks!
you run it from where and with what code?
could you try run it from this site
https://developer.cisco.com/meraki/api-v1/#!get-network-devices
If I run it from the delevoper site I get the same response.
200 - empty array in body
Can you verify the network id is correct?
https://developer.cisco.com/meraki/api-v1/#!get-organization-networks
Does this give output of the device and network?
https://developer.cisco.com/meraki/api-v1/#!get-organization-devices
Hi!
Yes, I can verify that my used network id is correct but when I'm try to get the organization devices via
https://developer.cisco.com/meraki/api-v1/#!get-organization-devices
I get 200 and a empty array!?
I just noticed you posted in mdm.
The api you trying is for network devices.
Try this
https://developer.cisco.com/meraki/api-v1/#!get-network-sm-devices
Oh! Shame on me!
This have worked! I don't have cared that I must make a request from / for the devices of the systems manager!
Thanks!
@LairdTurner : What error message you get as you are running the correct API call !