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

getDataSet

Queries the data of each target group in Optimizely Campaign.

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

Type: String[ ] [ ]

Parameters

NameTypeValue
sessionIdStringID of the session

Return values

A data set where the first row contains the column names and the following the values for each target group. The columns and the column order of the data set are subject to change.

Code structure

String[][] getDataSet(String sessionId)