For more information on using API

PUT http://webapi.mymarketing.co.il/api/automations/{id}/DateEventTriggerData

Update the date event trigger that activates the given automation

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Automation id

integer

Required

Body Parameters

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

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.