<?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: Account Management API for Subscriptions is blank in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/232114#M2815</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47736"&gt;@LawrenceBarratt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I believe we use the DPS license. Regarding the bearer token, I do use it. Without it there is an error - Incorrect Authorization header in request.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tired the GUI example to get the subscriptions.&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.dynatrace.com/spec/#/Dynatrace%20Platform%20Subscription/SubscriptionsController_listSubscription" target="_blank" rel="noopener"&gt;https://api.dynatrace.com/spec/#/Dynatrace%20Platform%20Subscription/SubscriptionsController_listSubscriptions&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;For v1 the curl command as follows. I tried v2 as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;curl -X 'GET' &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;'&lt;A href="https://api.dynatrace.com/sub/v1/accounts/" target="_blank" rel="noopener"&gt;https://api.dynatrace.com/sub/v1/accounts/&lt;/A&gt;&amp;lt;accountUuid&amp;gt;/subscriptions' &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-H 'accept: application/json' &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-H 'Authorization: Bearer &amp;lt;token&amp;gt;'&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Dec 2023 00:05:13 GMT</pubDate>
    <dc:creator>tjay</dc:creator>
    <dc:date>2023-12-18T00:05:13Z</dc:date>
    <item>
      <title>Account Management API for Subscriptions is blank</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/230860#M2801</link>
      <description>&lt;P&gt;I can list groups and environments, but subscriptions returns blank. The status code is 200 and there is no token error.&lt;/P&gt;
&lt;PRE&gt;https://api.dynatrace.com/sub/v2/accounts/&amp;lt;uuid&amp;gt;/subscriptions&lt;/PRE&gt;
&lt;P&gt;I used scope=account-uac-read to generate a token.&lt;/P&gt;
&lt;P&gt;Does anyone know what is causing this?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The output shows { "data": [] }.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 08:32:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/230860#M2801</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2023-12-05T08:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Account Management API for Subscriptions is blank</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/231958#M2811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/68135"&gt;@tjay&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What license are you currently on with your Dynatrace tenant?&lt;/P&gt;&lt;P&gt;Depending on your license currently, you can try the v1 api and see what the return is:&lt;/P&gt;&lt;PRE&gt;https://api.dynatrace.com/sub/v1/accounts/&amp;lt;uuid&amp;gt;/subscriptions&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 19:17:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/231958#M2811</guid>
      <dc:creator>LawrenceBarratt</dc:creator>
      <dc:date>2023-12-14T19:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Account Management API for Subscriptions is blank</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/231975#M2812</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47736"&gt;@LawrenceBarratt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your comment.&lt;/P&gt;&lt;P&gt;We use Host Units, DDU, DEM and ASU.&lt;/P&gt;&lt;P&gt;I tried v1 and here is the result.&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A target="_blank" rel="noopener"&gt;https://api.dynatrace.com/sub/v1/accounts/&amp;lt;uuid&amp;gt;/subscriptions&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;{"totalCount":0,"records":[]}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 02:53:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/231975#M2812</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2023-12-15T02:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Account Management API for Subscriptions is blank</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/231993#M2813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/68135"&gt;@tjay&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Are you on full DPS or classic licensing?&lt;/P&gt;&lt;P&gt;I tested an account in postman and got this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LawrenceBarratt_2-1702628466378.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16249i275BB74962265791/image-size/large?v=v2&amp;amp;px=999" role="button" title="LawrenceBarratt_2-1702628466378.png" alt="LawrenceBarratt_2-1702628466378.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Have you input your bearer token&amp;nbsp; for Authorization?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 08:23:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/231993#M2813</guid>
      <dc:creator>LawrenceBarratt</dc:creator>
      <dc:date>2023-12-15T08:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Account Management API for Subscriptions is blank</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/232114#M2815</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47736"&gt;@LawrenceBarratt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I believe we use the DPS license. Regarding the bearer token, I do use it. Without it there is an error - Incorrect Authorization header in request.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tired the GUI example to get the subscriptions.&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.dynatrace.com/spec/#/Dynatrace%20Platform%20Subscription/SubscriptionsController_listSubscription" target="_blank" rel="noopener"&gt;https://api.dynatrace.com/spec/#/Dynatrace%20Platform%20Subscription/SubscriptionsController_listSubscriptions&lt;/A&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;For v1 the curl command as follows. I tried v2 as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;curl -X 'GET' &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;'&lt;A href="https://api.dynatrace.com/sub/v1/accounts/" target="_blank" rel="noopener"&gt;https://api.dynatrace.com/sub/v1/accounts/&lt;/A&gt;&amp;lt;accountUuid&amp;gt;/subscriptions' &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-H 'accept: application/json' &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;-H 'Authorization: Bearer &amp;lt;token&amp;gt;'&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 00:05:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Account-Management-API-for-Subscriptions-is-blank/m-p/232114#M2815</guid>
      <dc:creator>tjay</dc:creator>
      <dc:date>2023-12-18T00:05:13Z</dc:date>
    </item>
  </channel>
</rss>

