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

getResponseCount

Counts the responses generated for a mailing in Optimizely Campaign.

Type: int

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing
categoryStringType of the response
You can set the following values:
- hardbounce
- softbounce
- autoresponder
- unknown

Return values

Number of responses generated for the mailing

Code structure

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