Compatibility routes — hr (1/4)
These routes forward to existing application handlers. They are listed for compatibility and troubleshooting, not as a promise of uniform M2M authentication, scopes or response schemas. The forwarded handler can require an interactive session, tenant permissions, a licensed module or a provider configuration. Use the explicit public M2M contract where available. Inspect the result body and the resulting record: some legacy adapters can return metadata with HTTP 200 after a forwarding failure.
Authentication and permissions · Requests, results and recovery
/api/v1/hr/attendance/{id}
Exported methods: PATCH
Forwarded handler methods: PATCH
Additional permissions: manage:attendance
/api/v1/hr/attendance/check-in
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: manage:attendance
/api/v1/hr/attendance/check-out
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: manage:attendance
/api/v1/hr/attendance/employee/{employeeId}
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:attendance
Query parameters: month, year
/api/v1/hr/attendance/export
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:attendance
Query parameters: month, year
/api/v1/hr/attendance/report
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:hr_reports
Query parameters: month, year
/api/v1/hr/attendance/stats
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:attendance
Query parameters: month, year
/api/v1/hr/contracts
Exported methods: GET, POST
Forwarded handler methods: GET, POST
Additional permissions: create:contracts, view:contracts
Query parameters: employeeId, limit, page, search, sortBy, sortOrder, status, type
/api/v1/hr/contracts/{id}
Exported methods: GET, PATCH
Forwarded handler methods: GET, PATCH
Additional permissions: edit:contracts, view:contracts
/api/v1/hr/contracts/{id}/pdf
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:contracts
/api/v1/hr/contracts/employee/{employeeId}
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:contracts
/api/v1/hr/contracts/expiring
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:contracts
Query parameters: days
/api/v1/hr/copilot
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: view:employees
/api/v1/hr/copilot/pdf
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: view:employees
/api/v1/hr/departments
Exported methods: GET, POST
Forwarded handler methods: GET, POST
Additional permissions: manage:departments, view:departments
Query parameters: isActive, limit, page, search
/api/v1/hr/departments/{id}
Exported methods: GET, PATCH, DELETE
Forwarded handler methods: GET, PATCH, DELETE
Additional permissions: manage:departments, view:departments
/api/v1/hr/departments/tree
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:departments
/api/v1/hr/employees/{id}/documents
Exported methods: GET, POST, DELETE
Forwarded handler methods: GET, POST, DELETE
Additional permissions: edit:employees, view:employees
Query parameters: documentId