Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getDistinctValues

Queries all distinct values of an attribute (max. 10,000) in Optimizely Campaign.

🚧

Caution

Using this method with the wrong argument (no threshold for instance) can lead to huge amount of data returned.

Type: String[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list
recipientFilterIdlongID of the target group
attributeNameStringField name (e.g. firstname, lastname etc.) to be queried for distinct values
thresholdintNumber of characters that are examined

Example: With a threshold of 4 , the values Test-A and Test-B are summed up to Test.

Return values

Distinct values of the attribute (max. 10,000)

Code structure

String[] getDistinctValues(String sessionId, long recipientListId, long recipientFilterId, String attributeName, int threshold)

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy