GET http://webapi.mymarketing.co.il/api/automations/{id}/ABSplitSteps/{stepId}
Get a certain AB Split step info in the automation flow
Request Information
URI Parameters
Name
Description
Type
Additional information
id
Automation id
integer
Required
stepId
step id
integer
Required
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
id
Step id
integer
object_id
Not in use here
integer
percentage_a
Percentage of contacts that will go to the A side in the split
byte
Required
percentage_b
Percentage of contacts that will go to the B side in the split
byte
Required
is_active
If the step is active
boolean
Required
Response Formats
application/json, text/json
Sample:
{ "id": 1, "object_id": 1, "type": "EmailCampaign", "percentage_a": 64, "percentage_b": 64, "is_active": true }
application/xml, text/xml
Sample:
<ApiAutomationABSplitStepInfo 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> <percentage_a>64</percentage_a> <percentage_b>64</percentage_b> <type>EmailCampaign</type> </ApiAutomationABSplitStepInfo>