04-13-2016 09:28 AM - edited 03-01-2019 04:27 AM
I create a new device under a given project via an API post to "/pnp-project/{projectId}/device" and I also need to specifiy the JSON format config-template which goes with that device for PnP.
The API documentation states that I should specifiy "configId (string, optional)" when creating the device but I cannot see where to query APIC to optain a valid "configId" which matches the JSON-config-template file I have pre-defined under "Network Plug and Play" --> "Configurations".
What do I need to query to list all the JSON-config-template files and their corresponding configID's ??
Thanks.
Solved! Go to Solution.
04-13-2016 09:53 AM
I'll admit this isn't very intuitive. But you can use the fileservice to get the file ID. Try:
04-13-2016 09:53 AM
I'll admit this isn't very intuitive. But you can use the fileservice to get the file ID. Try:
04-13-2016 11:02 AM
Brilliant, I think that looks like the right one (I'll just need to test that "id" works for my example), many thanks for the replies.
04-13-2016 09:55 AM
....
configId (string, optional): Configuration file ID,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide