Discussions

Ask a Question
Back to All

Using API to Get Timeclock Entries for an Employee

I have used https://www.humanity.com/api/v2/timeclocks, but that returns a complete list of all timeclocks. I am more wanting to get timeclock data for one employee.

I tried posting employee= to https://www.humanity.com/api/v2/timeclocks but I received an error :

"Your request is missing a required parameter","error":"missing: start_date"

So I added to my post:

employee=
start_date=2019-09-19

I now received an error: "Your request is missing a required parameter","error":"missing: start_time"

So I tried:

employee=
start_date=2019-09-19%2000%3A00%3A00

Which resulted in the same error of: "Your request is missing a required parameter","error":"missing: start_time"

What am I missing to get all timeclock data for an employee for today?

Thanks!