CopyAutoresponderFromDefault

Overview

Copies an Autoresponder down to the specified account from the “Samples” library

Exact matching Email Template  (by name) for each step must exist in the destination account.

Post Url

https://ReplaceWithYourWhiteLabelCRMDomain/api/2/CopyAutoresponderFromDefault.aspx
  • SSL is requred

Form Fields

Field Max Length* Required Notes
response_type No Default results will be returned in XML.Set this field value to json to return results in JSON format
apiusername Yes API User Name and password are assigned by AllClients

(This is not the user’s API details.)

apipassword Yes API User Name and password are assigned by AllClients

(This is not the user’s API details.)

accountid Yes Destination Account ID
campaignname 50 Yes Exact campaign name of Autoresponder from the Defaults account for this user. (Users in different groups may be connected to different defaults accounts)

(This is the name of the template, not the subject line)

* An error will not result if Max Length is exceeded. Data will be trimmed to this length. 

Sample Results

Success Message

<?xml version="1.0"?>
<results>
    <message>Success</message>
    <accountid>2425</accountid>
    <autoresponderid>90834</autoresponderid>
    <stepscreated>2</stepscreated>
    <emailtemplatesnotfound>1<emailtemplatesnotfound>
</results>
	
When emailtemplatesnotfound is greater than zero, this means that a step was skipped because a matching email template (by name) was not found in the destination account.  The Autoresponder will still be created, but this step will be skipped.  It is possible to end up with an Autoresponder with no steps in the destination account.	 

Sample Failure Message

<?xml version="1.0"?>
<results>
    <error>Authentication failed</error>
</results>


<?xml version="1.0"?>
<results>
    <error>Autoresponder not found in default account</error>
</results>


<?xml version="1.0"?>
<results>
    <error>Autoresponder already exists in destination account</error>
</results>