Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

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

getMailingResponseCount

Counts the responses of a specific type for a mailing in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
categoryStringSee Response categories.
mailingIdlongID of the mailing

Return values

Number of responses of the given type for a mailing

Code structure

int getMailingResponseCount(String sessionId, String category, long mailingId)