<?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 Ingest business events via ActiveGate in Dynatrace tips</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-tips/Ingest-business-events-via-ActiveGate/m-p/225681#M1048</link>
    <description>&lt;P&gt;In our most recent &lt;A href="https://community.dynatrace.com/t5/Events-and-webinars/eb-p/events" target="_blank"&gt;Dynatrace App Developer Office Hours&lt;/A&gt; we got a question where I am following up now:&lt;/P&gt;
&lt;P&gt;Is it possible to ingest business events via ActiveGate?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 15:47:33 GMT</pubDate>
    <dc:creator>sinisa_zubic</dc:creator>
    <dc:date>2023-10-17T15:47:33Z</dc:date>
    <item>
      <title>Ingest business events via ActiveGate</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Ingest-business-events-via-ActiveGate/m-p/225681#M1048</link>
      <description>&lt;P&gt;In our most recent &lt;A href="https://community.dynatrace.com/t5/Events-and-webinars/eb-p/events" target="_blank"&gt;Dynatrace App Developer Office Hours&lt;/A&gt; we got a question where I am following up now:&lt;/P&gt;
&lt;P&gt;Is it possible to ingest business events via ActiveGate?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:47:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Ingest-business-events-via-ActiveGate/m-p/225681#M1048</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-10-17T15:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest business events via ActiveGate</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Ingest-business-events-via-ActiveGate/m-p/225683#M1049</link>
      <description>&lt;P&gt;Yes, it is possible to ingest business events via an active gate. I have just verified it in one of my environments.&lt;/P&gt;
&lt;P&gt;Steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;create an &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication/account-api-authentication" target="_blank"&gt;OAuth client via myaccount&lt;/A&gt;&amp;nbsp;with scopes&amp;nbsp;&lt;SPAN&gt;storage:events:write storage:buckets:read&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;request a &lt;A href="https://www.dynatrace.com/support/help/shortlink/account-api-authentication#request-a-token" target="_blank"&gt;bearer token from dynatrace SSO&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;make the call&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here just a business example I copy and pasted &lt;A href="https://www.dynatrace.com/support/help/platform-modules/business-analytics/ba-api-ingest#request-pure-json-single-event" target="_blank"&gt;from help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please note to adjust the URL from the snippet. Also I am ignoring the SSL check with --insecure parameter&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl --insecure --location --request POST 'https://activeGateIP or URL&amp;gt;:9999/e/&amp;lt;environment id&amp;gt;/api/v2/bizevents/ingest' \
--header 'Authorization: Bearer &amp;lt;bearer token&amp;gt;' \
--header 'Content-Type: application/json' \
--data-raw '{
   "id":"2",
   "paymentType":"paypal",
   "plannedDeliveryDate":"01.01.2024",
   "event.type":"com.bizevent.single",
   "event.provider":"custom.curl",
   "total":234,
   "customer":{
      "firstName":"John",
      "lastName":"Doe"
   },
   "orderItemsProductIDs":[
      "PR-102002002",
      "QZ-123232"
   ]
}'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/48870"&gt;@Nick-Montana&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sini&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:54:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Ingest-business-events-via-ActiveGate/m-p/225683#M1049</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-10-17T15:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ingest business events via ActiveGate</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-tips/Ingest-business-events-via-ActiveGate/m-p/226162#M1059</link>
      <description>&lt;P&gt;Thanks for the confirmation!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 01:26:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-tips/Ingest-business-events-via-ActiveGate/m-p/226162#M1059</guid>
      <dc:creator>Nick-Montana</dc:creator>
      <dc:date>2023-10-23T01:26:11Z</dc:date>
    </item>
  </channel>
</rss>

