Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


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

Type: void


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)