28 Mar 2018 07:07 AM - last edited on 25 May 2021 03:34 PM by MaciejNeumann
Hi,
For example, how can I get Dynatrace SaaS data of specified period when I use the following Dynatrace API?
curl -L "https://{id}.live.dynatrace.com/api/v1/timeseries?Api-Token=abcdefjhij1234567890"
Regards,
Kohei
Solved! Go to Solution.
28 Mar 2018 09:29 AM
Did you look at our API docu. You can use the time frame parameter.
03 Apr 2018 08:46 AM
Hi @Wolfgang B.
Thanks for your comment.
I'm so sorry but, the example I gave was not good.
In fact, what I wanted to ask you is how to fetch the lists of problems in a specified period as follows.
curl -L "https://{id}.live.dynatrace.com/api/v1/problem/feed?Api-Token=abcdefjhij1234567890"
Thanks to you, if we use Dynatrace API for the timeframe, I understand that we can get the metrics on a specified period with timeframe options.
According to this page "https://www.dynatrace.com/support/help/dynatrace-api/problems/how-do-i-fetch-the-complete-list-of-pr...", we can fetch lists of problem based on relativeTime , but we hope to fetch them based on absolute time such as startTimestamp/endTimestamp.
Is it possible?