Tools and News for Developers using the AllClients Platform

StatsContactsAdded

Overview

Retrieve a count of contacts added within option date ranges and category or source filters. Communication handled via an http form post.

Post Url

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

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
accountid Yes Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel
apikey Yes API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel
Available Filters
startdate 10 No Add Date of the contact is on or after this date (Use US date format: mm/dd/yyyy)
enddate 10 No Add Date of the contact is before this date   (Use US date format:mm/dd/yyyy)

Note: Using value 6/30/2012 will not include contacts added on 6/30.  Use 7/1/2013 to include contacts added BEFORE this date.

category 50 No Must match the name of an existing Category exactly.
category2 50 No Must match the name of an existing Category2 exactly.
source 50 No Must match the name of an existing Source exactly.

* 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>
  <count>128</count>
</results> 

Sample Failure Message

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