I’m trying to query for all candidates which have been changed in the last hour and I can’t seem to get that to work correctly. I do get results with the code below, but not every candidate that fits the criteria is returned.
I am using the filter functionality for candidates with the following URL: https://api.catsone.nl/v3/candidates/search?page=1&per_page=25.
The parameters I’m using are
[‘field’ => ‘date_modified’, ‘filter’ => ‘greater_than’, ‘value’ => date(DATE_RFC3339, strtotime("-1 hours"))]
Since the documentation is somewhat contradictory I’m not entirely sure if I need to define a ‘query’-parameter. It says ‘required’ in the documentation, but in the explanation it states ‘The optional string to search within candidates for.’
Can you tell me if I’m doing something wrong or how I can fix this?