API to SM to get my phone details

SOLVED
MichalG
Meraki Employee
Meraki Employee

API to SM to get my phone details

Hello Team,

 

I am using API to get some details about my env.

I got orgid and networks successfully:

 

[
    {
        "id": "N_595038100766352700",
        "organizationId": "620490",
        "name": "Wireless",
        "timeZone": "America/Los_Angeles",
        "tags": null,
        "type": "wireless",
        "disableMyMerakiCom": false,
        "disableRemoteStatusPage": true
    },
    {
        "id": "N_595038100766352701",
        "organizationId": "620490",
        "name": "Phones",
        "timeZone": "America/Los_Angeles",
        "tags": null,
        "type": "phone",
        "disableRemoteStatusPage": true
    },
    {
        "id": "N_595038100766352702",
        "organizationId": "620490",
        "name": "Systems Manager",
        "timeZone": "America/Los_Angeles",
        "tags": null,
        "type": "systems manager",
        "disableRemoteStatusPage": true
    }
]

 

Now i wanted to display all the phones registered in my Systems Manager so tried:

/networks/N_595038100766352702/devices but getting empty 200 response. 

 

While i do see a registered phone:

Screen Shot 2019-05-09 at 19.53.25.png

 

Why ? Please keep in mind i do not have wired/wireless, just SM with phone provisioned. That is a test lab.

 

How to get my phones and details about those via API ?

 

Thanks !

1 ACCEPTED SOLUTION
jdsilva
Kind of a big deal

1 REPLY 1
jdsilva
Kind of a big deal

I don't use SM so I'm just guessing here, but this looks more like what you're after:

 

https://api.meraki.com/api_docs#list-the-devices-enrolled-in-an-sm-network-with-various-specified-fi...

 

 

Get notified when there are additional replies to this discussion.