cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4076
Views
0
Helpful
1
Replies

How can we find a product - PID?

bioz
Cisco Employee
Cisco Employee

We want to use 'Automated Software Distribution API' to download a specific version of a product with a specific version, for example, NSO - Network Service Orchestration version 4.6.1. How can we find the PID and release name for our API request?

GET https://api.cisco.com/software/v3.0/metadata/pids/{pids}/current_releases/{current_releases}/output_releases/{output_releases}

pids: PID for which to return software release information. For example, WS-C2960-8TC-S One value is required; up to 5 values are permitted. Multiple values must be separated by a comma. Each pid value should be associated to one current_ release value and one output_release value. The number of input pids, current_releases, and output_releases values should be the same and should be listed in the order in which they are associated.

1 Reply 1

thiland
Level 3
Level 3

Maybe there's a better way to do this, but I usually end up having to chain a couple of API calls together.  For example, query SN2INFO with the serial number, and that will return the orderable_pid.  Then use that string to pass into ASD API, etc.