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

getRootFolders

Queries the IDs of the root folders of a specific folder type in Optimizely Campaign.

Type: long[ ]

Parameters

NameTypeValue
sessionIdStringID of the current session
folderTypeStringType of the folder

Return values

IDs of the root folders

Code structure

long[] getRootFolders(String sessionId, String folderType)