<?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: Getting error when trying to make a Smart API Call. in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/getting-error-when-trying-to-make-a-smart-api-call/m-p/3789797#M410</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First, the &lt;SPAN class="ng-binding ng-scope"&gt;Smart Accounts and Licensing API is not a &lt;A href="https://developer.cisco.com/site/support-apis/" target="_self"&gt;Support API&lt;/A&gt; - you may have better luck following the &lt;A href="https://anypoint.mulesoft.com/apiplatform/apx#/portals/organizations/1c92147b-332d-4f44-8c0e-ad3997b5e06d/apis/5418104/versions/102456/pages/309237" target="_self"&gt;Support&lt;/A&gt; instructions for the API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;But I don't think tokens generated on production cloudsso.cisco.com token server will work on the stage API proxy at apmx-stage.cisco.com. The Code Snippets section of the Smart Accounts and Licensing API point to apx.cisco.com. Perhaps you'll have better luck using the prod API service. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;But again, the Smart Accounts and Licensing API support team will be better able to help you out.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;Keith&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 22:43:49 GMT</pubDate>
    <dc:creator>kcolberg</dc:creator>
    <dc:date>2019-01-28T22:43:49Z</dc:date>
    <item>
      <title>Getting error when trying to make a Smart API Call.</title>
      <link>https://community.cisco.com/t5/services-discussions/getting-error-when-trying-to-make-a-smart-api-call/m-p/3785470#M403</link>
      <description>&lt;P&gt;I have got&amp;nbsp;access token by doing following call.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://cloudsso.cisco.com/as/token.oauth2?grant_type=client_credentials&amp;amp;client_id=&amp;lt;id&amp;gt;&amp;amp;client_secret=&amp;lt;secret" target="_blank"&gt;https://cloudsso.cisco.com/as/token.oauth2?grant_type=client_credentials&amp;amp;client_id=&amp;lt;id&amp;gt;&amp;amp;client_secret=&amp;lt;secret&lt;/A&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Using this access token, I posted a GET request as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://apmx-stage.cisco.com/services/api/smart-accounts-and-licensing/v1/accounts/test.cisco.com/licenses" target="_blank"&gt;https://apmx-stage.cisco.com/services/api/smart-accounts-and-licensing/v1/accounts/test.cisco.com/licenses&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I get an error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could not get any response. Screen shots attached. I verified SSL Certificates are fine. Attaching screenshot for the same too.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Appreciate some suggestion to resolve this issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Purvi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-01-22 at 12.32.31 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/28454iCF3107DD7CF8C88D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-01-22 at 12.32.31 PM.png" alt="Screen Shot 2019-01-22 at 12.32.31 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2019-01-22 at 12.10.45 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/28455i78090AE71146EB41/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-01-22 at 12.10.45 PM.png" alt="Screen Shot 2019-01-22 at 12.10.45 PM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:46:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/getting-error-when-trying-to-make-a-smart-api-call/m-p/3785470#M403</guid>
      <dc:creator>smartnetpro</dc:creator>
      <dc:date>2019-03-01T12:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error when trying to make a Smart API Call.</title>
      <link>https://community.cisco.com/t5/services-discussions/getting-error-when-trying-to-make-a-smart-api-call/m-p/3789797#M410</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First, the &lt;SPAN class="ng-binding ng-scope"&gt;Smart Accounts and Licensing API is not a &lt;A href="https://developer.cisco.com/site/support-apis/" target="_self"&gt;Support API&lt;/A&gt; - you may have better luck following the &lt;A href="https://anypoint.mulesoft.com/apiplatform/apx#/portals/organizations/1c92147b-332d-4f44-8c0e-ad3997b5e06d/apis/5418104/versions/102456/pages/309237" target="_self"&gt;Support&lt;/A&gt; instructions for the API.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;But I don't think tokens generated on production cloudsso.cisco.com token server will work on the stage API proxy at apmx-stage.cisco.com. The Code Snippets section of the Smart Accounts and Licensing API point to apx.cisco.com. Perhaps you'll have better luck using the prod API service. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;But again, the Smart Accounts and Licensing API support team will be better able to help you out.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-binding ng-scope"&gt;Keith&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 22:43:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/getting-error-when-trying-to-make-a-smart-api-call/m-p/3789797#M410</guid>
      <dc:creator>kcolberg</dc:creator>
      <dc:date>2019-01-28T22:43:49Z</dc:date>
    </item>
  </channel>
</rss>

