<?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: Action Suppression through API example in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Action-Suppression-through-API-example/m-p/720156#M1873</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Jordan,&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Here is a sample working request which works on my local:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl -X POST -H "&lt;STRONG&gt;Content-type: application/vnd.appd.cntrl+json;v=1&lt;/STRONG&gt;" -d '{"name": "This is a test by Narendra","timeRange": {"startTimeMillis": "2017-06-10T16:50:00-0800","endTimeMillis": "2017-06-11T17:00:00-0800"}, "affects": {"type": "APP"}}' --user test@customer1:test http://localhost:8090/controller/api/accounts/2/applications/5/actionsuppressions&lt;/PRE&gt;
&lt;P&gt;If you still have issue, please share the curl command and the output to debug further.&lt;/P&gt;

&lt;P&gt;- - -&lt;/P&gt;
&lt;P&gt;With Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;L. Narendra Reddy&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2017 13:07:32 GMT</pubDate>
    <dc:creator>Narendra_Reddy</dc:creator>
    <dc:date>2017-05-04T13:07:32Z</dc:date>
    <item>
      <title>Action Suppression through API example</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Action-Suppression-through-API-example/m-p/720155#M1872</link>
      <description>&lt;P&gt;I am having trouble using &lt;EM&gt;curl&lt;/EM&gt; to POST a new action suppression that disables alerts for the entire application.&lt;/P&gt;
&lt;P&gt;I am trying to create a curl command to add to our existing upgrade and migration scripts so the alerts are disabled during the process.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Does anyone have an example of the &lt;EM&gt;curl&lt;/EM&gt; command to do this?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I have tried using the documentation from :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO42/Alert+and+Respond+API#AlertandRespondAPI-CreateandDeleteActionSuppressions" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO42/Alert+and+Respond+API#AlertandRespondAPI-CreateandDeleteActionSuppressions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 13:00:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Action-Suppression-through-API-example/m-p/720155#M1872</guid>
      <dc:creator>Jordan_Roth</dc:creator>
      <dc:date>2017-04-26T13:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Action Suppression through API example</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Action-Suppression-through-API-example/m-p/720156#M1873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Jordan,&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Here is a sample working request which works on my local:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;curl -X POST -H "&lt;STRONG&gt;Content-type: application/vnd.appd.cntrl+json;v=1&lt;/STRONG&gt;" -d '{"name": "This is a test by Narendra","timeRange": {"startTimeMillis": "2017-06-10T16:50:00-0800","endTimeMillis": "2017-06-11T17:00:00-0800"}, "affects": {"type": "APP"}}' --user test@customer1:test http://localhost:8090/controller/api/accounts/2/applications/5/actionsuppressions&lt;/PRE&gt;
&lt;P&gt;If you still have issue, please share the curl command and the output to debug further.&lt;/P&gt;

&lt;P&gt;- - -&lt;/P&gt;
&lt;P&gt;With Regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;L. Narendra Reddy&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2017 13:07:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Action-Suppression-through-API-example/m-p/720156#M1873</guid>
      <dc:creator>Narendra_Reddy</dc:creator>
      <dc:date>2017-05-04T13:07:32Z</dc:date>
    </item>
  </channel>
</rss>

