CopySMSCampaign

Copy an existing SMS campaign as a new campaign

This API call is used to copy an existing SMS campaign from your account.

The campaignId and copyName fields are mandatory. Your SMS campaign name can be a maximum of 255 characters. The selected campaignId must be a valid campaign. Deleted campaigns can't be copied. If you attempt to copy a deleted SMS campaign, an error occurs.

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

📘

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • campaignId - required; integer
  • copyName - required; string

Output parameters
No output

Example

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

    var smsCopyCampaign = new ApiCopySMSCampaignRequest
    {
     CampaignId = 3
        CampaignName = "API Copy SMS 3"
    };

    var result = client.CopySmsCampaign(smsCopyCampaign).Result;
}