Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getCount

Count 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)