<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automated Software Distribution API in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api/m-p/5371226#M1284</link>
    <description>&lt;P&gt;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&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;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"
}
&lt;/LI-CODE&gt;
&lt;P&gt;The API also says the fields PID and imageNames are required&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.cisco.com/docs/support-apis/automated-software-distribution/#software-release-by-pid-and-image" target="_blank"&gt;https://developer.cisco.com/docs/support-apis/automated-software-distribution/#software-release-by-pid-and-image&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Feb 2026 12:49:24 GMT</pubDate>
    <dc:creator>Jesus Illescas</dc:creator>
    <dc:date>2026-02-19T12:49:24Z</dc:date>
    <item>
      <title>Automated Software Distribution API</title>
      <link>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api/m-p/5370965#M1283</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;Not sure if I'm just not understanding correctly, but I can't figure out how to use the Automated Software Distribution API.&lt;/P&gt;
&lt;P&gt;I've gotten approved for the specific API and it's added my application on the API Console.&lt;/P&gt;
&lt;P&gt;I'm directed to use URIs such as&amp;nbsp;&lt;A href="https://apix.cisco.com/software/v4.0/metadata/pidimage" target="_blank" rel="noopener"&gt;https://apix.cisco.com/software/v4.0/metadata/pidimage&lt;/A&gt;&amp;nbsp;but I can never get any valid response.&amp;nbsp; 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.&lt;/P&gt;
&lt;P&gt;When attempting a POST send, I get "Error 400 Bad Request - Invalid Input" if I send&amp;nbsp;&lt;A href="https://apix.cisco.com/software/v4.0/metadata/pidimage/C9200L-48P-4G" target="_blank" rel="noopener"&gt;https://apix.cisco.com/software/v4.0/metadata/pidimage/C9200L-48P-4G&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure if I'm just missing something obvious, but can anyone help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 15:38:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api/m-p/5370965#M1283</guid>
      <dc:creator>qball359</dc:creator>
      <dc:date>2026-02-18T15:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Software Distribution API</title>
      <link>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api/m-p/5371226#M1284</link>
      <description>&lt;P&gt;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&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;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"
}
&lt;/LI-CODE&gt;
&lt;P&gt;The API also says the fields PID and imageNames are required&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.cisco.com/docs/support-apis/automated-software-distribution/#software-release-by-pid-and-image" target="_blank"&gt;https://developer.cisco.com/docs/support-apis/automated-software-distribution/#software-release-by-pid-and-image&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Feb 2026 12:49:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api/m-p/5371226#M1284</guid>
      <dc:creator>Jesus Illescas</dc:creator>
      <dc:date>2026-02-19T12:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Software Distribution API</title>
      <link>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api/m-p/5371232#M1285</link>
      <description>&lt;P&gt;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&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://api.cisco.com/software/suggestion/v2/suggestions/software/productIds/C9300L-48P-4G" target="_blank"&gt;https://api.cisco.com/software/suggestion/v2/suggestions/software/productIds/C9300L-48P-4G&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;I've successfully sent a test query to the the API using Insomnia, crafting the payload to use the PID "C9300L-48P-4G" and a known filename, which has worked successfully, giving me the API output correctly.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Feb 2026 13:11:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api/m-p/5371232#M1285</guid>
      <dc:creator>qball359</dc:creator>
      <dc:date>2026-02-19T13:11:54Z</dc:date>
    </item>
  </channel>
</rss>

