Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

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)