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

getAttributeNames

Queries the names of all attributes a recipient in a recipient list might have in Optimizely Campaign.

The names of the attributes are returned according to the given locale.

Type: String[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list
localeStringMust be any locale like de or en etc.

Return values

Names of all attributes a recipient may have in the recipient list

If a language is not supported, the default values are returned.

Code structure

String[] getAttributeNames(String sessionId, long recipientListId, String locale)