Skip to content

Instantly share code, notes, and snippets.

@dlferro
Created August 9, 2017 21:13
Show Gist options
  • Save dlferro/3c319f20b41812959833eea6a5ab55ad to your computer and use it in GitHub Desktop.
Save dlferro/3c319f20b41812959833eea6a5ab55ad to your computer and use it in GitHub Desktop.
Sample Interaction with Goal
{
"key": "ixn-created-via-the-api",
"name": "API-Created journey",
"workflowApiVersion": 1.0 ,
"triggers": [],
"goals": [
{
"key": "user-defined-key",
"name": "name of your goal",
"description": "The description of this goal",
"type": "Event",
"outcomes": [],
"arguments": {},
"configurationArguments": {
"criteria": "<FilterDefinition><ConditionSet Operator=\"AND\" ConditionSetName=\"Individual Filter Grouping\"><Condition Key=\"bulkevent_de.Locale\" Operator=\"Equal\"><Value><![CDATA[asdf]]></Value></Condition></ConditionSet></FilterDefinition>",
"schemaVersionId": 122
},
"metaData": {
"conversionValue": "1",
"conversionUnit": "wholenumber",
"conversionTypeId": 1,
"isExitCriteria": true,
"eventDefinitionKey": "My-Event-Key",
"eventDefinitionId": "<guid>"
}
}
],
"activities": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment