editFolder

public WSEditFolderResponse editFolder(String userCredential, 
String partitionName, Locale requestedLocale, long folderId, 
String name,String description, WSFolderTypeEnum folderType, 
Long creatorObjectId, boolean clearExisting)
 throws CampaignServicesException 																			

Updates the specified folder.

Parameters

userCredential: the client user credential.

partitionName: optional name of the campaign partition to use.

requestedLocale: optional locale to use for this request.

id: id of folder to update.

name: name of folder to create.

description: description for new folder.

folderType: type of folder-Offer/session/campaign/segment.

creatorObjectId: (optional) used by Plan (HCL Plan) to link a folder in Campaign with a folder in Plan.

clearExisting: not used now.

Returns

Returns object of type WSEditFolderResponse.

Errors

Throws CampaignServicesException if the folder type is invalid or duplicate or if folder id is invalid.