HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

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)

What’s Next
Did this page help you?