CreateImageFolder

Creates a new campaign image folder

This method can be used to create a new campaign image folder within an existing campaign image folder, whilst child folders can also be created to nest within it.

SOAP action: http://apiconnector.com/v2/ApiService/CreateImageFolder

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Folder ID - required; integer
  • Name - required; string

Output parameters

  • CreateImageFolderResult
    • ImageFolder
      • Id - integer
      • Name - string
      • ChildFolders - array of ImageFolder
        • ImageFolder
          • Id - integer
          • Name - string
          • ChildFolders - array of ImageFolder
            • ImageFolder
              • Id - integer
              • Name - string
              • ChildFolders - array of ImageFolder
                • ImageFolder...is recursive

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var folderId = 1;
	var folder = new ApiImageFolder { Name = "TestImageFolder" };
	var createdFolder = client.CreateImageFolder(folderId, folder);
}