smsCampaignReplicate()

Existing SMS campaign is replicated and the ID of the new SMS campaign is returned.

smsCampaignReplicate(string $cid) : string
Input parameters
  • cid - SMS campaign ID
Information obtained
  • SMS campaign copy ID

Examples

mgapi_smsCampaignReplicate.php
smsCampaignReplicate($cid);
 
header("Content-Type: text/plain");
if ($api->errorCode){
    echo "Unable to load smsCampaignReplicate()!\n";
    echo "\tCode=".$api->errorCode."\n";
    echo "\tMsg=".$api->errorMessage."\n";
} else {
    echo "New SMS Campaign Id = ".$retval."\n";
}

© 2010-2017 Mailigen. All rights reserved.