cancel
Showing results for 
Search instead for 
Did you mean: 

API to SM to get my phone details

SOLVED
Highlighted
Conversationalist

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

Accepted Solutions
Kind of a big deal

Re: API to SM to get my phone details

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...

 

 

1 REPLY 1
Kind of a big deal

Re: API to SM to get my phone details

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...

 

 

Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.