Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Creates a new folder in Optimizely Campaign.

Type: long


sessionIdStringID of the current session
folderNameStringName of the new folder
parentFolderIdlongID of the parent folder, or 0 if you want to create a new root directory
folderTypeStringType of the new folder

Return values

ID of the new folder

Code structure

long createFolder(String sessionId, String folderName, long parentFolderId, String folderType)