05-09-2019 07:16 AM
Please let me know if I'm not posting this question in the right place.
I have a list of productIds and I'm trying to determine which IOS images support specific features of interest (e.g., 'Flexible NetFlow'). To that end, I am trying to collect this information via the Software Suggestion API like this:
That does return results, but I don't think they are complete. For that specific query, it does not return c3900e-universalk9-mz.SPA.157-3.M.bin, which is the latest IOS supporting Flexible NetFlow according to the Cisco Feature Navigator (https://cfn.cloudapps.cisco.com/ITDIT/CFN/jsp/SearchBySoftware.jsp). Am I doing something wrong?
Thanks,
-Allen
09-24-2019 02:20 AM
Sorry! this is not an answer to your query and sorry for barging in to your question. I am struggling to get the software suggestion API, but I am not getting authorised. My bearer token is valid and I get a 200 OK response from GET https://api.cisco.com/hello (I have enabled hello api under My Application)
But my query GET https://api.cisco.com/software/suggestion/v2/suggestions/compatible/productId/CISCO3945E
is not being authorised.
That the Cisco documentation on this portal is not elaborate and the names are not self-explanatory, I am finding it really hard to hit the correct API. Also I am not getting much help from Cisco Devnet Webex teams on this.
May I ask you which API under 'My Applications' did you enable to get that response you mentioned. This would be of a great help to me.
Thanks in anticipation.
09-24-2019 05:57 AM
Hi Ayyapanr,
I have a number of the APIs enabled, but it should be the "Software Suggestion API V2" that gives you access to that specific query. Is it possible you have the legacy version of the Software Suggestion API instead of V2?
BTW, despite a fix that has given better results for the specific example query I gave, I still find that this API brings back inaccurate results in general, so it might not be worth your time to pursue this.
-Allen
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