HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In


Queries the data of each mailing in Optimizely Campaign.

This method can be replaced by the .NET replacement methods getColumnNames and getDataSetFlat.

Type: String[ ] [ ]


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)

What’s Next