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

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev 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

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list
testListBoolean - 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)