Can I save a collection request with a variable in the get command that I can change by a parameter?

I am very very new to all of this and I am using postman to interact with Meraki. I am sure this is posted somewhere already, but I am so green I am not even sure what to look for or how to search for what I am trying to ask.

Quick and easy I am trying to look for devices that belong to a specific network the url contains this

/networks/{networkId}/devices

I would like to save the collection as that base and have a parameter or variable I can paste the actual networkId in then run the command. Is this possible or do I need to just change the get command every time I want to get this information for a different network?

I am also wondering if there is a way to filter the output so that I just get the device name serial and mac without the rest of the information I do not need.

thank you very much

Yes you should be able to configure the networkId as a variable. Can you see if this guide on variables helps you:

1 Like

Hey @dennismumaw :waving_hand:

Welcome to the Postman Community! :postman:

What do you mean by filter - Is this to filter the responses returned from the server or filter the response received from the server?

If it’s to filter the response, you could do that using the Filter feature in the response body pane. This can be used to target specific pieces of data, like devices, and only show those.