1

So I have an interesting use case here. So I was wondering if there is a way write up an api entry event for a data event that happens within a DE is Marketing Cloud.

I would love to write API entry events with data that is already inside the Marketing Cloud. Instead of the event firing from an event from my database the event fires when a record is updated within a Data Extension. This way I can work within the Marketing Cloud and not mess with our external data structures.

Maybe something like this?

Host: https://www.exacttargetapis.com
POST /interaction/v1/events
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN

{
"ContactKey": "ID601",
"EventDefinitionKey":"AcmeBank-AccountAccessed",
"EstablishContactKey": true,
"Data": {
    "accountNumber":"{{Contacts.Attributes.DataExtension.Field}}",
    "patronName":"{{Contacts.Attributes.DataExtension.Field}}" }
}
2
  • what is your requirement ? you need fire the journey builder event using Rest Api
    – Ravi.A
    Commented Jul 6, 2018 at 5:22
  • Correct, but I want the event to stem from a data change that happen within marketing cloud. Can I write an entry event for a data change that happens within the marketing cloud only? Like an API call upon itself. Commented Jul 6, 2018 at 15:12

1 Answer 1

0

use like this request body

{
"ContactKey":"DE external key here",
"EventDefinitionKey":"APIEvent-event key here",
"EstablishContactKey": true,
"Data": {
    "Email":"[email protected]",
    "Name":"test"
   }
}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .