GET https://webapi.mymarketing.co.il/api/automations/{id}
Get an automation information by its' id
Request Information
URI Parameters
Name
Description
Type
Additional information
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)
Required
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
Automation id
The id of the template that was selected
Number of times that a contact started the automation
Id of the object that activates the trigger (email/ sign up form, etc.)
Segmentation id
Object that contains the automation details (name, dates, etc.) See AutomationDetailsInfo for more information
Object that contains the automation design (data and flow steps.) See AutomationDesignInfo for more information
Object that contains the automation activation (scheduled time for the automation and if it is active or not.) See AutomationActivationInfo for more information
Response Formats
application/json, text/json
{ "id": 1, "template_id": 1, "triggered_count": 1, "trigger_type_id": "AbandonedCartRecovery", "trigger_object_id": 1, "segmentation_id": 1, "details": { "name": "sample string 1", "allow_trigger_multiple_times": true, "report_interval_type": "Immediate", "report_send_to": "sample string 2", "is_send_report": true, "date_updated_utc": "2016-12-24T14:12:12", "date_created_utc": "2016-12-24T14:12:12", "extended_details": { "rerun_trigger": true, "working_days": [ { "day": 1, "from": "00:00:00.1234567", "to": "00:00:00.1234567" }, { "day": 1, "from": "00:00:00.1234567", "to": "00:00:00.1234567" } ] } }, "design": { "data": "sample string 1", "stepsInfo": [ { "id": 1, "type": "EmailCampaign", "object_id": 1, "is_active": true }, { "id": 1, "type": "EmailCampaign", "object_id": 1, "is_active": true } ] }, "activation": { "is_published": true, "scheduled_time": "2016-12-24T14:12:12" } }
application/xml
Sample not available.
text/xml
Sample not available.