Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

setTestRecipientList

Marks a recipient list as a test recipient list (or vice versa) in Optimizely Campaign.

Type: void

Parameters

Name

Type

Value

sessionId

String

ID of the session

recipientListId

long

ID of the recipient list

testList

Boolean

  • true – Recipient list is marked as a test recipient list.
  • false – Recipient list is not marked as a test recipient list.

Return values

  • Code structure

    void setTestRecipientList(String sessionId, long recipientListId, boolean testList)