02-18-2026 07:38 AM
Hi all
Not sure if I'm just not understanding correctly, but I can't figure out how to use the Automated Software Distribution API.
I've gotten approved for the specific API and it's added my application on the API Console.
I'm directed to use URIs such as https://apix.cisco.com/software/v4.0/metadata/pidimage but I can never get any valid response. In other APIs, I can adjust the URI with a device model or similar, but that doesn't seem to be the case with this one.
When attempting a POST send, I get "Error 400 Bad Request - Invalid Input" if I send https://apix.cisco.com/software/v4.0/metadata/pidimage/C9200L-48P-4G
The API guide doesn't seem to tell me how to use the API to get anything specific - it just directs to use the URI and then provides sample responses - ones that I can't get.
I'm not sure if I'm just missing something obvious, but can anyone help?
Solved! Go to Solution.
02-19-2026 04:49 AM
The example they provide says to put the image pid and name as part of the payload you need to send to the API. How your payload looks like? I recommend using curl
POST https://apix.cisco.com/software/v4.0/metadata/pidimage
Content-Type: application/json
{
"pid": "ASR10012XOC3POS-RF",
"imageNames": [
"testfile1.exe",
"testVPN_3.bin"
],
"pageIndex": "1",
"perPage": "1"
}
The API also says the fields PID and imageNames are required
02-19-2026 04:49 AM
The example they provide says to put the image pid and name as part of the payload you need to send to the API. How your payload looks like? I recommend using curl
POST https://apix.cisco.com/software/v4.0/metadata/pidimage
Content-Type: application/json
{
"pid": "ASR10012XOC3POS-RF",
"imageNames": [
"testfile1.exe",
"testVPN_3.bin"
],
"pageIndex": "1",
"perPage": "1"
}
The API also says the fields PID and imageNames are required
02-19-2026 05:11 AM
Thanks very much - I wasn't properly understand the guide in terms of sending a payload along with the API query; I was anticipating that it would function like the Software Suggestion API where I just send a GET request - something like
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