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

getRecipientResponseCount2

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

Type: int

Parameters

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

(Optional) If committed, only responses from this mailing are counted.

Return values

Number of responses of the given type for the recipient

Code structure

int getRecipientResponseCount2(String sessionId, String category, String recipientId long mailingId)