POST http://webapi.mymarketing.co.il/api/automations/{id}/Steps
Add a new automation step in the automation flow
Request Information
URI Parameters
Name
Description
Type
Additional information
id
Automation id
integer
Required
Body Parameters
Name
Description
Type
Additional information
object_id
Object id of the step
integer
is_active
If the step is active
boolean
Required
Request Formats
application/json, text/json
Sample:
{ "type": "EmailCampaign", "object_id": 1, "is_active": true }
application/xml, text/xml
Sample:
<ApiAutomationStepDesignUpdateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <is_active>true</is_active> <object_id>1</object_id> <type>EmailCampaign</type> </ApiAutomationStepDesignUpdateInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Name
Description
Type
Additional information
id
Automation step id
integer
object_id
The object id of the step
integer
is_active
If the step is active
boolean
Required
Response Formats
application/json, text/json
Sample:
{ "id": 1, "type": "EmailCampaign", "object_id": 1, "is_active": true }
application/xml, text/xml
Sample:
<ApiAutomationStepDesignInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <id>1</id> <is_active>true</is_active> <object_id>1</object_id> <type>EmailCampaign</type> </ApiAutomationStepDesignInfo>