Variation resource representation

Property

Type

Description

Editable

id

Int

Variation Id

Note: Please ensure that variation Id is serial. For eg, if you have variations with ids 1,2,3 and you delete variation id 2, now you would have the variation ids 1, 2; 3 would be updated to 2

No

name

string

Variation Name

Yes

isControl

boolean

Flag which signifies if the variation is control variation

No

isDisabled

boolean

Flag which signifies if the variation is disabled

Note: Please set the percentSplit to 0 for the given variation to disable it

No

percentSplit

float

Percentage Traffic allocated for variation

Yes

editorData

Nested Object

Contains the JS/CSS changes created for the variation

No

editorData.stack

list

stack contains the list of the changes for the variation

No

heatmapThumbUrl

link

Link for the heatmap thumbnail

No

screenshots

list

Contains the link of screenshots for the selected browsers for the variation

No

sectionId

int

Section Id

Note: This would be 1 except the MULTIVARIATE campaign. It would be meaningful in that case only.

No

📘

Note:

For adding js/css changes in variations, please use changes property in request body. These changes will be override any previous changes, if any.

📘

Note

Variation splitPercent will be equally distributed among all variations on the creation of a new variation, which can be updated via update request