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
Name
Description
Type
Additional information
dateEventIntervalValue
Interval value
integer
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.