Skip to Content
PeopleForce
Reports

Get working hours report

GET
/api/public/v3/reports/hr/working_hours

Query Parameters

department_ids[]?array<>
division_ids[]?array<>
employee_ids[]?array<>
ends_on?string
Formatdate
location_ids[]?array<>
position_ids[]?array<>
starts_on?string
Formatdate

Response Body

The working hours report.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://app.peopleforce.io/api/public/v3/reports/hr/working_hours'
Example Response
{  "data": [    {      "employee": {        "id": 0,        "full_name": "string"      },      "leave_types": [        {          "id": 0,          "name": "string",          "amount": "string",          "unit": "hours"        }      ],      "holidays_count": 0,      "total_leave_hours": "string",      "total_leave_days": "string",      "total_hours": "string",      "total_days": "string"    }  ]}