<?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: Settings API for Problem Notifications question in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Settings-API-for-Problem-Notifications-question/m-p/214804#M2549</link>
    <description>&lt;P&gt;Hi MarciaB,&lt;/P&gt;
&lt;P&gt;The settings schema you are using is for problem notifications. Alerting profiles is the schema you need (builtin:alerting.profile). When you pull the alerting profiles, the payload has a section called "eventFilters" which will have the information you want!&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Paco&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 10:11:12 GMT</pubDate>
    <dc:creator>francisco_casti</dc:creator>
    <dc:date>2023-06-13T10:11:12Z</dc:date>
    <item>
      <title>Settings API for Problem Notifications question</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Settings-API-for-Problem-Notifications-question/m-p/214732#M2547</link>
      <description>&lt;P&gt;I am trying to use the new settings API to retrieve the details about Problem Notifications.&lt;/P&gt;
&lt;P&gt;I am successfully retrieving the list of all problem notifications with:&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;/api/v2/settings/objects?schemaIds=builtin%3Aproblem.notifications&amp;amp;scopes=environment&amp;amp;fields=objectId%2Cvalue%2Cscope&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;and then retrieving the details for each with:&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;/api/v2/settings/objects/' &lt;/SPAN&gt;+ notification&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;'objectId'&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;but I cannot figure out how to get the event filters:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarciaB_0-1686581818117.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12191i15B2FCDF700B5EA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarciaB_0-1686581818117.png" alt="MarciaB_0-1686581818117.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 16:32:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Settings-API-for-Problem-Notifications-question/m-p/214732#M2547</guid>
      <dc:creator>MarciaB</dc:creator>
      <dc:date>2023-07-13T16:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Settings API for Problem Notifications question</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Settings-API-for-Problem-Notifications-question/m-p/214804#M2549</link>
      <description>&lt;P&gt;Hi MarciaB,&lt;/P&gt;
&lt;P&gt;The settings schema you are using is for problem notifications. Alerting profiles is the schema you need (builtin:alerting.profile). When you pull the alerting profiles, the payload has a section called "eventFilters" which will have the information you want!&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Paco&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 10:11:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Settings-API-for-Problem-Notifications-question/m-p/214804#M2549</guid>
      <dc:creator>francisco_casti</dc:creator>
      <dc:date>2023-06-13T10:11:12Z</dc:date>
    </item>
  </channel>
</rss>

