HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

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)

Did this page help you?