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

getAllFlat

Queries all recipients contained in a specific recipient list in Optimizely Campaign.

Type: String[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
recipientListIdlongID of the recipient list
attributeNamesString[ ]Names of the fields, whose recipient data shall be queried

Return values

All recipients contained in the recipient list

Every value of the returned array is assigned to a value of the committed array parameter attributeNames for a recipient.

Code structure

String[] getAllFlat(String sessionId, long recipientListId, String[] attributeNames)