v2 API get_activities not working anymore

22 views
Skip to first unread message

Gevik Babakhani

unread,
Nov 4, 2016, 12:40:03 PM11/4/16
to CATS API
Hi,

We have a PHP code that gets activities for further processing:

$items = $this->api->get_activities('Geplaatst', 1, 1, '', '', '', "created;datebetween;{$firstDOM}|{$lastDOM}");


Suddenly the code above has stopped working! It throws the following error:
Unknown column "created" in filter: created;datebetween;01-11-2016|30-11-2016

Any ideas why?  Is there an API change in v2

Regards,
Gevik



Aaron Baluczynski

unread,
Nov 4, 2016, 2:08:49 PM11/4/16
to CATS API
Hi, there was a change made in September. You should use the "date" column now instead of "created."

Aaron
Reply all
Reply to author
Forward
0 new messages