CopyCampaign

Copies a given campaign, returning the new campaign

This method copies a given campaign, returning the new campaign object.

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

πŸ“˜

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Campaign ID - required; integer

Output parameters

  • CopyCampaignResult
    • Id - integer
    • Name - string
    • Subject - string
    • FromName - string
    • FromAddress
      • Id - integer
      • Email - string
    • HtmlContent - string
    • PlainTextContent - string
    • ReplyAction - string (Unset', 'WebMailForward', 'Webmail', 'Delete')
    • ReplyToAddress - string
    • IsSplitTest - boolean
    • Status - string ('Unsent', 'Sending', 'Sent', 'Paused', 'Cancelled', 'RequiresSystemApproval', 'RequiresSMSApproval', 'RequiresWorkflowApproval', 'Triggered')

Example

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

	var campaignId = 1;
	var copiedCampaign = client.CopyCampaign(campaignId);
}