HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

getPredictedRecipientCount

Counts the recipients that will receive a mailing once it is started in Optimizely Campaign.

The mailing must be of type regular.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

Number of recipients that will receive the mailing once it is started

Code structure

int getPredictedRecipientCount(String sessionId, long mailingId)

What’s Next
Did this page help you?