Search found 3 matches

by bfang
Wed Jul 05, 2017 9:44 am
Forum: Developers
Topic: JSON API filter by date
Replies: 4
Views: 12460

Re: JSON API filter by date

Thank you. I found the issue. I was missing a } at the end of the filter_data json.
by bfang
Wed Jul 05, 2017 9:16 am
Forum: Developers
Topic: JSON API filter by date
Replies: 4
Views: 12460

Re: JSON API filter by date

I have added start_date and end_date, and still receive all records. My JSON filter looks like this: [{"filter_data":{"user_id":"676","start_date":1499212800,"end_date":1499212800}] When I include the dates, it returns every punch, for every person. ...
by bfang
Wed Jul 05, 2017 8:01 am
Forum: Developers
Topic: JSON API filter by date
Replies: 4
Views: 12460

JSON API filter by date

I am attempting to list a series of punches for a given user on a given day using the JSON API, and the "APIPunch" class, "getPunch" method. I am able to filter the results successfully using filter_data;{user_id:'XXXX'}, but all attempts at filtering the results by either "...