Create target based on Behavioural event

This document provides information on creating a target based on behavioral events.

Body Params
string
Defaults to { "active": true, "fromDate": "2024-02-19T00:00:00.529Z", "name": "GoodNightForNightly", "preferredTillId": 50692127, "toDate": "2024-05-31T08:41:00.529Z", "trackingType": "DEFAULT", "totalPeriods": 2, "frequency": 1, "recurringCycles": 1, "targetEvaluationType": "FIXED_CALENDAR_WINDOW", "targetCycleStartDate": "2024-02-19T00:31:00.529Z", "periods": [ { "active": true, "description": "p66912", "endDate": "2024-02-22T23:45:12.063", "periodStatus": "RUNNING", "refCode": "period66921", "startDate": "2024-02-19T00:00:00.529Z" }, { "active": true, "description": "p66222", "endDate": "2024-04-30T23:45:12.063", "periodStatus": "NOT_STARTED", "refCode": "period6628911", "startDate": "2024-04-01T23:45:12.063Z" } ], "targets": [ { "targetEntity": "EVENT", "targetType": "VISIT", "eventName": "goodNight", "defaultValues": [ { "defaultValue": "2" }, { "defaultValue": "3" } ], "targetMilestoneTriggers": [], "expression": "true", "expressionJson": "{\"arity\":\"literal\",\"value\":\"true\",\"type\":\"boolean:primitive\"}", "filters": [], "name": "goodNightTargetRule", "enrolmentMethod": "TRANSACTION" } ] }

Request parameters

Responses

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json