HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getCount

Count all available recipient lists in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
includeTestListsboolean
  • true: Test recipient lists are also counted
  • false: Test recipient lists are not counted
  • Return values

    Number of all available recipient lists

    Code structure

    int getCount(String sessionId, boolean includeTestLists)
    

    What’s Next
    Did this page help you?