get https://api.factorialhr.com/api/v2/resources/project_management/time_records/
What does it do?
This endpoint reads and retrieves a list of time records. You can utilize URL parameters to filter the results.
What params does it accept?
ids
: retrieve only the time records that matches theids
passed in the request.project_workers_ids
: Retrieve only the time records assigned to anyproject_workers_ids
passed in the request.subproject_ids
: retrieve only the time records related with anysubproject_ids
passed in the request.attendance_shift_ids
: retrieve only the time records related with anyattendance_shift_ids
passed in the request.employee_ids
: ⚠️ This param, will be deprecated soon. Please useproject_worker_ids
param instead.month
: Filter time records created in a specific month of the year.year
: To be used with themonth
parameter to filter time records created in a particular period.updated_after
: this parameter is needed to filter time records created or updated after a date.
Is it related to other entities?
A time_record
is mandatory related to a project_worker_id
and an attendance_shift_id
. Optionally, it can be related to a subproject.
Who can use it?
Only companies who have enabled the projects_management
feature and users with the permission to read time_records.