Discussion Forums

list contacts updated since -> filtermode issue

 
Sentinel
25 posts

Hi Forum,

I try to get a list of last changed contacts (or a change in their activities) using the API.

I try to call the API @ https://secure.solve360.com/contacts with:

<request><layout>0</layout><searchmode></searchmode><searchvalue></searchvalue><filtermode>updated</filtermode><filtervalue>2010-06-30T00:00:00+00:00</filtervalue><special></special><limit>1000</limit><start></start><sortfield>name</sortfield><sortdir>ASC</sortdir></request

This call returns a System Error. Does someone know the exact way to use the filtermode ?

Avatar
Administrator
4124 posts

The filtervalue used for the filtermode = updated is an integer for number of days from now e.g. contacts updated in the last 30 days etc.

<request><layout>0</layout><filtermode>updated</filtermode><filtervalue>30</filtervalue><limit>1000</limit><sortfield>name</sortfield><sortdir>ASC</sortdir></request>
Sentinel
25 posts

Thanks. Could not find that in the documentation, possibly overlooked it.

Enthusiast
12 posts

I just spent an hour troubleshooting a similar issue before I found this post. I think this definitely should be put in the API documentation, as it’s not there.