cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
188
Views
0
Helpful
2
Replies
Beginner

Incomplete results from Software Suggestion API when querying by supportedFeatures

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:

 

GET https://api.cisco.com/software/suggestion/v2/suggestions/compatible/productId/CISCO3945E/K9?supportedFeatures=Flexible+NetFlow

 

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

 

2 REPLIES 2
Beginner

Re: Incomplete results from Software Suggestion API when querying by supportedFeatures

@allenc 

 

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.

Highlighted
Beginner

Re: Incomplete results from Software Suggestion API when querying by supportedFeatures

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

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards