ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

I am setting some filters in the SELECT api call, but the server is sending all the records back. Why?

To Remember...

  1. Filters that can be set for a SELECT XML API call should be properties that are defined in the list class (Contact email addresses corresponds to ContactEmailAddressList which extends EmailAddressList). These properties are used in the java source files to restrict the records. Also the name specified in the API call should match the member present in the List class. There is no documentation which describes the filters available in each List class that can be applied. Hence the developer will need to look at the CRM source code to determine the fields. The documentation will be updated in the future to specify what filters are available for a particular class.
  2. The API reads the filter specified in the call and tries to set it on the list object (eg: ContactEmailAddressList). If the filter was incorrectly spelled or is not defined in the List class and is not used in the query available in the List class, then the ContactEmailAddressList will get executed with no filters and will hence return all the records. This is the way the API works today.

Sign in to add your comment.