<?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: Maintenance window Via Api in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/188114#M1927</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/13072"&gt;@mark_bley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution found last time, thanks for your comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a comment, where can I get the view for schema version.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 05:26:29 GMT</pubDate>
    <dc:creator>Malaik</dc:creator>
    <dc:date>2022-06-09T05:26:29Z</dc:date>
    <item>
      <title>Maintenance Window via API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/187351#M1909</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Can some provide example for building maintenance window via API with the new mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The bellow way seems to be removed and routed to the second one, but not too easy to use:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Malaik_0-1653823869447.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/5868iDDE290E6222B3B3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Malaik_0-1653823869447.png" alt="Malaik_0-1653823869447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a nice day.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 07:43:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/187351#M1909</guid>
      <dc:creator>Malaik</dc:creator>
      <dc:date>2024-08-21T07:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Maintenance window Via Api</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/188071#M1923</link>
      <description>&lt;P&gt;Hi Malaik,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can try following against the&amp;nbsp;/api/v2/settings/objects endpoint&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
    {
        "schemaId": "builtin:alerting.maintenance-window",
        "scope": "environment",
        "value": {
            "enabled": true,
            "generalProperties": {
                "name": "Example Window",
                "description": "An example Maintenance window",
                "maintenanceType": "UNPLANNED",
                "suppression": "DETECT_PROBLEMS_AND_ALERT",
                "disableSyntheticMonitorExecution": true
            },
            "schedule": {
                "scheduleType": "MONTHLY",
                "monthlyRecurrence": {
                    "dayOfMonth": 1,
                    "timeWindow": {
                        "startTime": "13:45:00",
                        "endTime": "14:45:00",
                        "timeZone": "Europe/Vienna"
                    },
                    "recurrenceRange": {
                        "scheduleStartDate": "2022-04-01",
                        "scheduleEndDate": "2022-05-26"
                    }
                }
            },
            "filters": [
                {
                    "entityType": "HOST",
                    "entityTags": [
                        "[AWS]testkey:testvalue"
                    ]
                },
                {
                    "entityType": "HOST",
                    "entityId": "HOST-0A7500C12EB9471D",
                    "entityTags": [],
                    "managementZones": []
                }
            ]
        }
    }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Make sure the version defined in the payload matches the one you also see in your environment&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_bley_1-1654698033498.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/6033iC2F5BEC8558A56E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_bley_1-1654698033498.png" alt="mark_bley_1-1654698033498.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 14:20:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/188071#M1923</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2022-06-08T14:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Maintenance window Via Api</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/188083#M1926</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/13072"&gt;@mark_bley&lt;/a&gt;&amp;nbsp; is right&lt;/P&gt;&lt;P&gt;similar thread marked closed already&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/REST-API/When-will-maintenance-windows-via-the-API-for-OneAgents-will-be/m-p/170270#M1487" target="_blank"&gt;Solved: Re: When will maintenance windows via the API for OneAgents will be available ? - Dynatrace Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 16:28:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/188083#M1926</guid>
      <dc:creator>techean</dc:creator>
      <dc:date>2022-06-08T16:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Maintenance window Via Api</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/188114#M1927</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/13072"&gt;@mark_bley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution found last time, thanks for your comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a comment, where can I get the view for schema version.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 05:26:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Maintenance-Window-via-API/m-p/188114#M1927</guid>
      <dc:creator>Malaik</dc:creator>
      <dc:date>2022-06-09T05:26:29Z</dc:date>
    </item>
  </channel>
</rss>

