<?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 Why Dynatrace API accept agregationType parameter instead of aggregationType parameter for value percentile ? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Why-Dynatrace-API-accept-agregationType-parameter-instead-of/m-p/97199#M448</link>
    <description>&lt;P&gt;Hi, it's not really a question more to inform or investigate about the reason why.&lt;/P&gt;
&lt;P&gt;About this great and helpful article of &lt;A href="https://www.dynatrace.com/news/blog/author/wolfgang-beer/" target="_blank"&gt;Wolfgang Beer&lt;/A&gt; : &lt;A href="https://www.dynatrace.com/news/blog/custom-percentiles-dashboard-charts-dynatrace-api-calls/" target="_blank" rel="noopener"&gt;Custom percentiles for dashboard charts &amp;amp; Dynatrace API calls&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;In the example API call fetches url the name parameter &lt;STRONG&gt;agregationType &lt;/STRONG&gt;with only 1 &lt;STRONG&gt;g &lt;/STRONG&gt;works for the value &lt;STRONG&gt;percentile&lt;/STRONG&gt;. But for other &lt;STRONG&gt;Built-in metrics &lt;/STRONG&gt;and &lt;STRONG&gt;aggregations&lt;/STRONG&gt;, &lt;STRONG&gt;agregationType &lt;/STRONG&gt;parameter with only 1 &lt;STRONG&gt;g &lt;/STRONG&gt;don't works and will return the message :&lt;/P&gt;
&lt;PRE&gt;{&lt;BR /&gt;    "error": {&lt;BR /&gt;        "code": 400,&lt;BR /&gt;        "message": "The aggregation type is not allowed for the given timeseries id."&lt;BR /&gt;    }&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;So be careful to always use &lt;STRONG&gt;aggregationType &lt;/STRONG&gt;with 2 &lt;STRONG&gt;g &lt;/STRONG&gt;because it always works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this will help some of you to not loose time, as me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 14:12:26 GMT</pubDate>
    <dc:creator>sjoly</dc:creator>
    <dc:date>2021-05-25T14:12:26Z</dc:date>
    <item>
      <title>Why Dynatrace API accept agregationType parameter instead of aggregationType parameter for value percentile ?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Why-Dynatrace-API-accept-agregationType-parameter-instead-of/m-p/97199#M448</link>
      <description>&lt;P&gt;Hi, it's not really a question more to inform or investigate about the reason why.&lt;/P&gt;
&lt;P&gt;About this great and helpful article of &lt;A href="https://www.dynatrace.com/news/blog/author/wolfgang-beer/" target="_blank"&gt;Wolfgang Beer&lt;/A&gt; : &lt;A href="https://www.dynatrace.com/news/blog/custom-percentiles-dashboard-charts-dynatrace-api-calls/" target="_blank" rel="noopener"&gt;Custom percentiles for dashboard charts &amp;amp; Dynatrace API calls&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;In the example API call fetches url the name parameter &lt;STRONG&gt;agregationType &lt;/STRONG&gt;with only 1 &lt;STRONG&gt;g &lt;/STRONG&gt;works for the value &lt;STRONG&gt;percentile&lt;/STRONG&gt;. But for other &lt;STRONG&gt;Built-in metrics &lt;/STRONG&gt;and &lt;STRONG&gt;aggregations&lt;/STRONG&gt;, &lt;STRONG&gt;agregationType &lt;/STRONG&gt;parameter with only 1 &lt;STRONG&gt;g &lt;/STRONG&gt;don't works and will return the message :&lt;/P&gt;
&lt;PRE&gt;{&lt;BR /&gt;    "error": {&lt;BR /&gt;        "code": 400,&lt;BR /&gt;        "message": "The aggregation type is not allowed for the given timeseries id."&lt;BR /&gt;    }&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;So be careful to always use &lt;STRONG&gt;aggregationType &lt;/STRONG&gt;with 2 &lt;STRONG&gt;g &lt;/STRONG&gt;because it always works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this will help some of you to not loose time, as me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:12:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Why-Dynatrace-API-accept-agregationType-parameter-instead-of/m-p/97199#M448</guid>
      <dc:creator>sjoly</dc:creator>
      <dc:date>2021-05-25T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why Dynatrace API accept agregationType parameter instead of aggregationType parameter for value percentile ?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Why-Dynatrace-API-accept-agregationType-parameter-instead-of/m-p/97200#M449</link>
      <description>&lt;P&gt;Hi Stephane,&lt;/P&gt;&lt;P&gt;Thanks a lot for reporting that. We will immediately fix the typo in the blog post. &lt;/P&gt;&lt;P&gt;Best greetings,&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2018 06:16:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Why-Dynatrace-API-accept-agregationType-parameter-instead-of/m-p/97200#M449</guid>
      <dc:creator>wolfgang_beer</dc:creator>
      <dc:date>2018-10-15T06:16:21Z</dc:date>
    </item>
  </channel>
</rss>

