For more information on using API

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

Update an AB Split step in the automation

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Automation id

integer

Required

stepId

step id

integer

Required

Body Parameters

ApiAutomationABSplitStepUpdateInfo

Name

Description

Type

Additional information

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

Request Formats

application/json, text/json

Sample:
{
  "percentage_a": 64,
  "percentage_b": 64,
  "is_active": true
}

application/xml, text/xml

Sample:
<ApiAutomationABSplitStepUpdateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <is_active>true</is_active>
  <percentage_a>64</percentage_a>
  <percentage_b>64</percentage_b>
</ApiAutomationABSplitStepUpdateInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.