<?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: POST call not working in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/POST-call-not-working/m-p/200477#M2191</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the given information it is not possible to pinpoint what is going wrong. I suggest you open a support ticket so this can be investigated in your environment.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2022 14:16:57 GMT</pubDate>
    <dc:creator>abbachr</dc:creator>
    <dc:date>2022-12-14T14:16:57Z</dc:date>
    <item>
      <title>POST call not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/POST-call-not-working/m-p/188164#M1929</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using this REST API:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/topology-and-smartscape/custom-device-api/report-custom-device-metric-via-rest-api#definition--EntityTimeseriesData" target="_blank" rel="noopener noreferrer"&gt;https://www.dynatrace.com/support/help/dynatrace-api/environment-api/topology-and-sma[…]e/custom-device-api/report-custom-device-metric-via-rest-api&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;to report a metric for an existing custom device. Instead of reporting the custom metric for an existing device, this api call creates a new custom device and attaches the metric to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a sample call that I am making:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl -X POST \
  https://cto43873.live.dynatrace.com/api/v1/entity/infrastructure/custom/idOfmyCustomDevice \
  -H 'Authorization: Api-Token dt0c01.APITOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "Azure Virtual Network Gateway",
  "series" : [
    {
      "timeseriesId" : "custom:my.custom.metric",
      "dataPoints" : [
        [ 1654695594547, 20 ]
       ]
    }
  ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 09:41:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/POST-call-not-working/m-p/188164#M1929</guid>
      <dc:creator>ssharm02</dc:creator>
      <dc:date>2022-08-12T09:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: POST call not working</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/POST-call-not-working/m-p/200477#M2191</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the given information it is not possible to pinpoint what is going wrong. I suggest you open a support ticket so this can be investigated in your environment.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 14:16:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/POST-call-not-working/m-p/200477#M2191</guid>
      <dc:creator>abbachr</dc:creator>
      <dc:date>2022-12-14T14:16:57Z</dc:date>
    </item>
  </channel>
</rss>

