<?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: Trying to get the ID of a Management Domain in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/225564#M2695</link>
    <description>&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Thanks for the detailed answer and warning.&lt;/P&gt;&lt;P&gt;I only need the ID as I am&amp;nbsp;I am trying to follow the following page&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/get-entities-list#definition--ManagementZone" target="_blank" rel="noopener"&gt;Monitored entities API - GET entities list | Dynatrace Docs&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;QUOTE&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this example, the request list services that belong to the management zones with the ID of&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;229130632296508575249&lt;/STRONG&gt;&lt;SPAN&gt;. To achieve that, the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;entitySelector&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;query parameter is set to&amp;nbsp;&lt;/SPAN&gt;type("SERVICE"),mzId("229130632296508575249")&lt;/P&gt;&lt;P&gt;UNQUOTE&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 10:05:22 GMT</pubDate>
    <dc:creator>francois_dejage</dc:creator>
    <dc:date>2023-10-17T10:05:22Z</dc:date>
    <item>
      <title>Trying to get the ID of a Management Domain</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/225547#M2693</link>
      <description>&lt;P&gt;Greetings:&lt;/P&gt;
&lt;P&gt;I found the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Alerting/I-m-trying-to-POST-an-event-but-where-do-I-find-the-ENTITYID/m-p/121632" target="_blank" rel="noopener"&gt;@Solved: I'm trying to POST an event.. but where do I find the ENTITYID? - Dynatrace Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;but when I try the same to get the Managment domain and use it in an API call I get:&lt;/P&gt;
&lt;P&gt;Cannot deserialize value:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a portion of the URL id=e3fe8df4-&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; how do I convert the value provided in the URL into a number that the API can understand?&lt;/P&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;Is there an API call that will give me the ID of the Managment Domain?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 11:08:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/225547#M2693</guid>
      <dc:creator>francois_dejage</dc:creator>
      <dc:date>2023-10-17T11:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get the ID of a Management Domain</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/225563#M2694</link>
      <description>&lt;P&gt;Is a Management Domain a Management Zone? If so, you can get the ID of a management zone either with the &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/management-zones-api" target="_blank" rel="noopener"&gt;Management Zone API&lt;/A&gt; (using the old v1 API) or the &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings" target="_blank" rel="noopener"&gt;Settings v2 API&lt;/A&gt;, using the&amp;nbsp;&lt;STRONG&gt;builtin:management-zones&lt;/STRONG&gt; schema Id.&lt;/P&gt;&lt;P&gt;Consider, however, that if you're trying to post an event, you can't push it to Management Zone, you need to choose one or multiple entities to push it to. A management zone is a settings object, meanwhile an entity is a host, a process, a service, etc. The closest thing you can do is use the&amp;nbsp;&lt;STRONG&gt;entitySelector&lt;/STRONG&gt; field to specify the Management Zone you want to use, but that would push the event to&amp;nbsp;&lt;EM&gt;every entity&lt;/EM&gt; in that Management Zone, so it's definitely not advised.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 09:59:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/225563#M2694</guid>
      <dc:creator>victor_balbuena</dc:creator>
      <dc:date>2023-10-17T09:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get the ID of a Management Domain</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/225564#M2695</link>
      <description>&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Thanks for the detailed answer and warning.&lt;/P&gt;&lt;P&gt;I only need the ID as I am&amp;nbsp;I am trying to follow the following page&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/get-entities-list#definition--ManagementZone" target="_blank" rel="noopener"&gt;Monitored entities API - GET entities list | Dynatrace Docs&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;QUOTE&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this example, the request list services that belong to the management zones with the ID of&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;229130632296508575249&lt;/STRONG&gt;&lt;SPAN&gt;. To achieve that, the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;entitySelector&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;query parameter is set to&amp;nbsp;&lt;/SPAN&gt;type("SERVICE"),mzId("229130632296508575249")&lt;/P&gt;&lt;P&gt;UNQUOTE&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 10:05:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/225564#M2695</guid>
      <dc:creator>francois_dejage</dc:creator>
      <dc:date>2023-10-17T10:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get the ID of a Management Domain</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/241639#M3016</link>
      <description>&lt;P&gt;I was trying to use setting api to get mz id using object id but not getting mz id as a part of response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 16:02:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Trying-to-get-the-ID-of-a-Management-Domain/m-p/241639#M3016</guid>
      <dc:creator>maneeshbanda18</dc:creator>
      <dc:date>2024-04-02T16:02:04Z</dc:date>
    </item>
  </channel>
</rss>

