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

getReason

Queries the reason for a blocklist entry in Optimizely Campaign.

Type: String

Parameters

NameTypeValue
sessionIdStringID of the session
entryStringEntry (for example, an email address) whose reason is to be queried (can contain wildcards like ? or *)

Return values

Reason for a blocklist entry

Code structure

String getReason(String sessionId, String entry)