SetPermissions

Overview

Set Permissions for a Team Member based on information sent via an http form post.

URL

POST/api/2/SetPermissions.aspx

Parameters

FieldMax LengthRequiredNotes
response_typefalseDefault results will be returned in XML. Set this field value to json to return results in JSON format
apiusernametrueAPI User Name and password are assigned by AllClients
apipasswordtrueAPI User Name and password are assigned by AllClients
accountidtrueMust be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel
teammemberidtrueMust be numeric. Leave blank or use 0 (zero) for team leader
permissionstrueJSON formatted object (named pairs of permissions and their value)

Example:

{"ContactAdd": "Deny",
"ContactEdit": "Grant",
"ContactDelete: "Deny"}