<?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: On demand Synthetic execution via Powershell script in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239247#M2352</link>
    <description>&lt;P&gt;Hello Miguel,&lt;/P&gt;&lt;P&gt;In the POST API request body, i want to input the synthetic ID dynamically instead of static value&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2024 14:16:08 GMT</pubDate>
    <dc:creator>Vidhyasagar</dc:creator>
    <dc:date>2024-03-07T14:16:08Z</dc:date>
    <item>
      <title>On demand synthetic execution via Powershell script</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239204#M2347</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am working on a requirement to an trigger automated on demand synthetic execution via powershell, invoke method works perfectly fine but I am struggling with request body where I need to change the "monitor id" based on a variable.&lt;/P&gt;
&lt;P&gt;Rest API request invoke body&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;"failOnPerformanceIssue": false,&lt;BR /&gt;"monitors": [&lt;BR /&gt;{&lt;BR /&gt;"executionCount": 1,&lt;BR /&gt;"monitorId": "SYNTHETIC_TEST-0200ECC670458A61",&lt;BR /&gt;"repeatMode": "SEQUENTIAL"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"processingMode": "STANDARD",&lt;BR /&gt;"takeScreenshotsOnSuccess": true&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Invoke-RestMethod -Uri "https://{environmentid}.live.dynatrace.com/api/v2/synthetic/executions/batch"&amp;nbsp;-Method Post -Body $json -Headers $headers&lt;/P&gt;
&lt;P&gt;Any suggestions/solutions will help&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 09:50:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239204#M2347</guid>
      <dc:creator>Vidhyasagar</dc:creator>
      <dc:date>2024-07-29T09:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: On demand Synthetic execution via Powershell script</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239232#M2348</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I understand do you need use a template of body, and in your script set previously the value of monitorID.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 13:21:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239232#M2348</guid>
      <dc:creator>Miguel_RinconG</dc:creator>
      <dc:date>2024-03-07T13:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: On demand Synthetic execution via Powershell script</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239247#M2352</link>
      <description>&lt;P&gt;Hello Miguel,&lt;/P&gt;&lt;P&gt;In the POST API request body, i want to input the synthetic ID dynamically instead of static value&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 14:16:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239247#M2352</guid>
      <dc:creator>Vidhyasagar</dc:creator>
      <dc:date>2024-03-07T14:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: On demand Synthetic execution via Powershell script</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239250#M2354</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can get &lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/synthetic/synthetic-monitors/get-all-monitors" target="_self"&gt;synthetics&lt;/A&gt; use a tag filter.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 14:24:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/On-demand-synthetic-execution-via-Powershell-script/m-p/239250#M2354</guid>
      <dc:creator>Miguel_RinconG</dc:creator>
      <dc:date>2024-03-07T14:24:16Z</dc:date>
    </item>
  </channel>
</rss>

