HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

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)
      

    What’s Next
    Did this page help you?