Create target based on Behavioural eventAsk AIpost https://{host}/v3/{check_API_Endpoint_Example_in_the_description}This document provides information on creating a target based on behavioral events.Body ParamsRAW_BODYstringDefaults 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 parametersResponses 200200 201Created 400400Updated about 1 month ago