UpdateMailMergeProfileById

Overview

Update Mail Merge Profile in an account based on information sent via an http form post.

Use this call when you already know the ID of the Mail Merge Profile.

Post Url

https://www.allclients.com/api/2/UpdateMailMergeProfileById.aspx
  • SSL is requred
  • White Label CRM Customers: Replace www.allclients.com with your White Label CRM domain name.

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
accountid Yes Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel
teammemberid No Must be numeric. Leave blank or use 0 (zero) for team leader
apikey Yes API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel
id Yes Unique ID of existing mail merge profile.  Use -1 for Account Owner Primary Profile (You can find the ID in GetMailMergeProfiles)
email 75 No
fullname 50 No
company 50 No
address 60 No
citystatezip 60 No
phone 30 No
website 75 No
newslettertitle 50 No Only available on Primary Profile for the owner and Primary Profile of each team member
newsletterfreetext 500 No Only available on Primary Profile for the owner and Primary Profile of each team member

Sample Results

Success Message

<?xml version="1.0"?>
<results>
  <message>Success</message>
</results>

 

Sample Failure Message

<?xml version="1.0"?>
<results>
  <error>Cannot find profile with this id in this account</error>
</results>