Skip to Content
PeopleForce
Reports

Deprecated

Company API v2 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3, which serves every v2 path under /api/public/v3.

Get HR working hours report

Deprecated

GET
/api/public/v2/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 HR working hours report.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://app.peopleforce.io/api/public/v2/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"    }  ]}