Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

getDataSetFlat

Queries the values of each mailing in Optimizely Campaign.

Type: String[ ]

Parameters

NameTypeValue
sessionIdStringID of the session
mailingTypeStringType of the mailing (regular, event, confirmation, template, campaign, split)

Return values

Values of the mailings

To assign the returned values to different mailings, you can use the method getColumnNames. With this method, you can determine the number of values of a mailing.

Code structure

String[] getDataSetFlat(String sessionId, String MailingType)