Overview
Changes the group that an account is assigned to
Post Url
https://ReplaceWithYourWhiteLabelCRMDomain/api/2/SetAccountGroup.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 | |
apipassword | Yes | API User Name and password are assigned by AllClients | |
accountid | Yes | ||
group | 50 | Yes | Must match a group in your WLCRM Control Panel. |
* 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>
</results>
Sample Failure Message
<?xml version="1.0"?>
<results>
<error>Authentication failed</error>
</results>
<?xml version="1.0"?>
<results>
<error>Group not found</error>
</results>