Tools and News for Developers using the AllClients Platform

GetSavedSearches

Overview

Get a list of saved searches in an account based on information sent via an http form post.

Post Url

https://www.allclients.com/api/2/GetSavedSearches.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 Default is 0 for Account Owner
apikey Yes API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel

Sample Results

<results>
  <savedsearches>
    <savedsearch>
      <id>121</id>
      <name>Hot Prospects</name>
      <showonhomepage>True</showonhomepage>
      <searchurl>ContactList.aspx?Mode=Advanced&ss=121</searchurl>
    </savedsearch>
    <savedsearch>
      <id>123</id>
      <name>New Leads</name>
      <showonhomepage>True</showonhomepage>
      <searchurl>ContactList.aspx?Mode=Advanced&ss=123</searchurl>
    </savedsearch>
  </savedsearches>
</results>

Sample Failure Message

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