Postman vers 11.18.3 "getting started" documentation

Solved
The_Roo
Getting noticed

Postman vers 11.18.3 "getting started" documentation

I'm trying to get started using APIs, so I downloaded and installed Postman, and created a login for myself. I looked in "about" and I have version 11.18.3, I guess that the latest, but all documentation available on the web shows a Postman screen very different to mine. For instance, the docs talk about a "gear" icon in the top right, but 11.18.3 doesn't have that and it seems I need to go to the left nav-bar to create things.

 

The result of this is that I can't get anything to work, I'm getting error 401 and worse, and I'm going no-where fast.

 

Is there a set of documentation/howtos/getting started that discussed the *latest* version of Postman, not something that appears to be years old?

 

Sorry if I sound a bit tetchy, but I've wasted so much time going down blind alleys I'm thinking of resorting to Python instead, but that looks even harder 🙂

1 Accepted Solution
MartinS
Building a reputation

Hi, Your Org ID in your environment should be the 'id' number returned from GetOrg. To run a Network based call, you'll need a networkId variable, then call GetOrgNetworks to get the list of networks in your org, pick one and put the Id of that in your variables. Same for the device based calls. Once you have a valid OrgId, NetworkId and DeviceId you should find you can make all the Get calls

---
COO
Highlight - Service Observability Platform
www.highlight.net

View solution in original post

8 Replies 8
MartinS
Building a reputation

Hi, I have 11.18 which I believe is latest and this is what my postman screen looks like?

 

MartinS_0-1730977661125.png

 

Are you using the very helpful Meraki postman collections?

Cisco Meraki | Public APIs | Postman API Network

 

M.

---
COO
Highlight - Service Observability Platform
www.highlight.net
The_Roo
Getting noticed

My Postman looks like yours, but all the "Getting Started" tutorials seem to be of a different (earlier) version, with a gear icon in the top right, from which a lot of actions are initiated. I have managed to find my way round some of the steps, but I'm getting myself lost in others

 

I have tried to use the Meraki collections, but my mishandling of the interface is defeating the object

MartinS
Building a reputation

Is there anything in particular you're getting stuck on? If you're using the Meraki postman collection, make sure your environment has your dashboard API key (assuming it's the dashboard API you're interested in?) set against apiKey, and then with the collection open try sending a getOrganizations to see if the key works. From that call you can then set the OrgID in the environment and go the next layer down to try getOrgNetworks or getOrgDevices and on you go. 

---
COO
Highlight - Service Observability Platform
www.highlight.net
The_Roo
Getting noticed

I followed the instructions at https://developer.cisco.com/meraki/build/meraki-postman-collection-getting-started/getting-started/#...

then when I got to

  • Open the Meraki Dashboard API v1 collection
  • Select List the Organizations endpoint
  • Hit Send and you will see a list of organizations.

I got the following message, and anything I try seems to put me in a similar place
Postman screenshot.png

The_Roo
Getting noticed

So I've made a little progress. I've set up some variables:

The_Roo_0-1731334076703.png

 

And issued a successful GET for the Organization:

The_Roo_1-1731334076708.png

 

But when I try to extend the same logic and look at clients on the network, using the Meraki collection, I get an error:

The_Roo_5-1731334379946.png

 

 

I guess it’s to do with the ” :networkId” but I tried to replace that with something else, but I keep getting the same error. I think if I can understand were the “: variable”  part of the GET comes from, I should be OK

MartinS
Building a reputation

Hi, Your Org ID in your environment should be the 'id' number returned from GetOrg. To run a Network based call, you'll need a networkId variable, then call GetOrgNetworks to get the list of networks in your org, pick one and put the Id of that in your variables. Same for the device based calls. Once you have a valid OrgId, NetworkId and DeviceId you should find you can make all the Get calls

---
COO
Highlight - Service Observability Platform
www.highlight.net
The_Roo
Getting noticed

Hi Martin,

That last update was the key to success. I now have it working as expected, and while I'm not quick with it, I can make it work, and practice will help. Thanks for your help (and patience!)

 

Roo

MartinS
Building a reputation

Very happy to help!

---
COO
Highlight - Service Observability Platform
www.highlight.net
Get notified when there are additional replies to this discussion.