Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Queries the attributes defined by the parameter attributeNames in Optimizely Campaign.

Type: String[ ]


sessionIdStringID of the session
recipientListIdlongID of the recipient list
recipientIdStringID of the recipient
attributeNamesString[ ]Field names (e.g., firstname, lastname etc.)

Return values: Attribute values according to the given attribute names. Each entry is formatted according to the Type conversion and formatting rules.

Code structure

String[] getAttributes(String sessionId, long recipientListId, String recipientId, String[] attributeNames)