Tools and News for Developers using the AllClients Platform

UpdateTeamMember

Overview

Updates a team member in the database via an http form post.  A successful post will return a success message.

Post Url

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

Important Note

Submitting a blank field will result in clearing the data for that field out of the database. If you don’t want to change a field, do not submit it with the form.

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
apipassword Yes API User Name and password are assigned by AllClients
accountid Yes Add this new team member to the account with this accountid
teammemberid Yes Unique identifier for this team member (can be found in GetTeamMembers)
email 50 No New email for the user
password 50 No New password for the user
display_fullname 50 No
display_initials 5 No
display_hexcolor 6 No Default is FFFFFF –  Leave off the “#”
permission_sharetemplates 1 No “1” for Yes

“0” for No (default)

permission_groupedit 1 No “1” for Yes

“0” for No (default)

mailmerge_newsletter 50 No Mail Merge Profile: Newsletter Title, ie: “John’s Newsletter”
mailmerge_fullname 50 No ie: “John Smith”
mailmerge_company 50 No
mailmerge_address 60 No ie: “123 Mail Street Suite A”
mailmerge_citystatezip 60 No ie: “Windsor, CA 95492”
mailmerge_phone 30 No
mailmerge_email 75 No
mailmerge_website 75 No Use full URL. ie: “http://www.mywebsite.com/”
extra_field1 50 No Extra fields for your internal use. (Store an internal ID or whatever you’d like)
extra_field2 50 No Extra fields for your internal use. (Store an internal ID or whatever you’d like)

* 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>15631</accountid>
    <teammemberid>232</teammemberid>
</results>

Sample Failure Message

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