For more information on using API

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

Save the activation of the given automation id

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Automation id

integer

Required

Body Parameters

ApiAutomationActivationInfo

Name

Description

Type

Additional information

is_published

If the automation is published

boolean
scheduled_time

Scheduled time for the automation activation

date

Request Formats

application/json, text/json

Sample:
{
  "is_published": true,
  "scheduled_time": "2016-12-24T14:12:12"
}

application/xml, text/xml

Sample:
<ApiAutomationActivationInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <is_published>true</is_published>
  <scheduled_time>2016-12-24T14:12:12</scheduled_time>
</ApiAutomationActivationInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.