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

getDataSet

Queries the data of each mailing in Optimizely Campaign.

You can replace this method by the .NET replacement methods getColumnNames and getDataSetFlat.

Type: String[ ] [ ]

Parameters

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

Return values

A data set where the first row contains the column names and the following the values for each mailing

The columns and the column order of the data set are subject to change.

Code structure

String[][] getDataSet(String sessionId, String MailingType)