getBounceCounter
Counts the hard or soft bounces for a recipient in Optimizely Campaign.
See also: resetBounceCounter and getBounceCounterThreshold.
This number is different from the one returned by getRecipientResponseCount2 as this is the counter used to determine if a recipient will receive further mailings. This bounce counter may be reset to re-enable a recipient once the bounce threshold (usually three hard bounces and five soft bounces) is exceeded.
By default, the media type EMAIL is used. Use the SessionWebservice's setMediaType method to select another media type such as SMS.
Type: int
Parameters
Name | Type | Value |
---|---|---|
sessionId | String | ID of the session |
recipientId | String | ID of the recipient |
category | String | See Response categories. Only hardbounce or softbounce |
Return values
Number of hard or soft bounces for the recipient
Code structure
int getBounceCounter(String sessionId, String recipientId, String category)
Updated over 2 years ago