<?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 API call with exact timestamps in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/API-call-with-exact-timestamps/m-p/181253#M1733</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I make an API call to get metrics information I always use the "from" parameter and add a "now-24h", for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to see, but I can't, what I can do to put absolute times, for example: 2022-02-23 10:00 - 2022-02-22: 10:00&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you could tell me where to find the documentation I would appreciate it, because I have found something similar, but in my case it doesn't apply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 09:54:11 GMT</pubDate>
    <dc:creator>Litodrako1992</dc:creator>
    <dc:date>2022-02-24T09:54:11Z</dc:date>
    <item>
      <title>API call with exact timestamps</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-call-with-exact-timestamps/m-p/181253#M1733</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I make an API call to get metrics information I always use the "from" parameter and add a "now-24h", for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to see, but I can't, what I can do to put absolute times, for example: 2022-02-23 10:00 - 2022-02-22: 10:00&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you could tell me where to find the documentation I would appreciate it, because I have found something similar, but in my case it doesn't apply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 09:54:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-call-with-exact-timestamps/m-p/181253#M1733</guid>
      <dc:creator>Litodrako1992</dc:creator>
      <dc:date>2022-02-24T09:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: API call with exact timestamps</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-call-with-exact-timestamps/m-p/183910#M1807</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47291"&gt;@Litodrako1992&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the following format is supported by the API for the 'from' and 'now' fields:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;params = {
'from': '2022-03-20T00:00:00.000+02:00',
'now': '2022-03-31T00:00:00.000+02:00'
}&lt;/LI-CODE&gt;&lt;P&gt;The +02:00 defines the UTC timezone, which for my case is +02:00, adjust this value to your timezone as needed, default is UTC +00:00 (basically means you could also leave that last part out)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also leave the milliseconds out, just in case you may need them.&lt;/P&gt;&lt;P&gt;So a simplified version of the timestamp could look like this:&amp;nbsp;2022-03-20T00:00:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 11:00:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-call-with-exact-timestamps/m-p/183910#M1807</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2022-04-01T11:00:49Z</dc:date>
    </item>
  </channel>
</rss>

