createFolder
public WSCreateFolderResponse createFolder(String userCredential,
String partitionName, Locale requestedLocale,String name,
String description,String securityPolicyName,
long parentFolderId,WSFolderTypeEnum folderType,
WSApplicationTypeEnum createdBy,long creatorObjectId)
throws CampaignServicesException
Creates a new folder of type campaign/offer/sessions/segments.
Parameters
userCredential: the client user credential.
partitionName: optional name of the campaign partition to use.
requestedLocale: optional locale to use for this request.
name: name of folder to create.
description: description for new folder.
securityPolicyName: name of security policy to use.
parentFolderId: (optional) id of parent folder. If not provided, the folder is created at root.
folderType: type of folder-Offer/session/campaign/segment.
creatorObjectId: (optional) used by Plan (Unica Plan) to link a folder in Unica Campaign with a folder in Unica Plan.
Returns
Returns object of type WSCreateFolderResponse.
Errors
Throws CampaignServicesException if the folder type is invalid or duplicate.