cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ingest business events via ActiveGate

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

In our most recent Dynatrace App Developer Office Hours we got a question where I am following up now:

Is it possible to ingest business events via ActiveGate?

2 REPLIES 2

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Yes, it is possible to ingest business events via an active gate. I have just verified it in one of my environments.

Steps:

Here just a business example I copy and pasted from help

Please note to adjust the URL from the snippet. Also I am ignoring the SSL check with --insecure parameter

curl --insecure --location --request POST 'https://activeGateIP or URL>:9999/e/<environment id>/api/v2/bizevents/ingest' \
--header 'Authorization: Bearer <bearer token>' \
--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"
   ]
}'

 

FYI @Nick-Montana 

 

Best,
Sini

Thanks for the confirmation!

Featured Posts