For more information on using API

GET https://webapi.mymarketing.co.il/api/automations/{id}/DateEventTriggerData

Get trigger's information of a specific "contact celebrates a date" automation. Providing an automation id that has a different trigger will result in an error.

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Automation id. Can be found using the endpoint "Get account's automations" or in the UI (go to Automations->Automations Lists->click on the automation's reports -> you'll find the id int the URL)

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiDateEventAutomationTriggerDataInfo

Name

Description

Type

Additional information

dateEventIntervalType

Interval value type from list

dateEventIntervalValue

Interval value

integer
dateEventTiming

Timing type from list. befor / after

dateEventType

Culumn name

string

Response Formats

application/json, text/json

Sample:
{
  "dateEventIntervalType": "hour",
  "dateEventIntervalValue": 1,
  "dateEventTiming": "BeforeDate",
  "dateEventType": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiDateEventAutomationTriggerDataInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <dateEventIntervalType>hour</dateEventIntervalType>
  <dateEventIntervalValue>1</dateEventIntervalValue>
  <dateEventTiming>BeforeDate</dateEventTiming>
  <dateEventType>sample string 2</dateEventType>
</ApiDateEventAutomationTriggerDataInfo>