Bug in get_activities?

10 views
Skip to first unread message

Barry Smith

unread,
Jul 19, 2016, 4:43:20 PM7/19/16
to cats-api
I just moved from domain=startfinder to domain=cioresources

My code works fine for earlier data in the month


<response success="true" num_results="145" num_pages="3" rows_per_page="50" search="" page_number="1" sort_column="created" sort_dir="desc">
<item>
<created>07-08-2016 6:57 pm</created>
<icons/>
<name>Tesfa Mesele</name>
<regarding>General</regarding>
<type>Email</type>
<notes>
Your Application has been Received ... PLEASE READ!
</notes>
<entered_by/>
<data_item_type>candidate</data_item_type>
<data_item_id>165452369</data_item_id>
<item_id>493766852</item_id>
</item>


... but when I run it for today ... even though I clearly see records in activity ... I get this ...


<response success="true" num_results="2" num_pages="1" rows_per_page="50" search="" page_number="1" sort_column="created" sort_dir="desc"></response>

... but no results .... :)

--

  Barry Smith
  Managing Partner
  CIO Resources (a StartFinder company) 
 
Work - 240.668.4844  |  Cell - 240.793.9125
  ba...@cioresources.com
  http://www.cioresources.com

 



Also, check out our open roles on our website at  http://dreamjobs.cioresources.com ... 

we pay for placed referrals!

Aaron Baluczynski

unread,
Jul 19, 2016, 4:55:52 PM7/19/16
to CATS API
Hi Barry, the paging in API v2 is zero-indexed (starts with 0, not 1).

Aaron

Barry Smith

unread,
Jul 19, 2016, 9:37:51 PM7/19/16
to cats-api
Thanks Aaron.  I found my bug.  Two calls to the API ... I ddin't change the old one

On Tue, Jul 19, 2016 at 4:55 PM, Aaron Baluczynski <abaluc...@catsone.com> wrote:
Hi Barry, the paging in API v2 is zero-indexed (starts with 0, not 1).

Aaron

--
You received this message because you are subscribed to the Google Groups "CATS API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cats-api+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages