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

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)