GET https://webapi.mymarketing.co.il/api/automations/{id}/activation
Get the activation status of the given automation
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
Name
Description
Type
Additional information
is_published
If the automation is published
boolean
scheduled_time
Scheduled time for the automation activation
date
Response 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>