Skip to Main Content
Categories REST API
Created by Guest
Created on Oct 9, 2024

Add system status to HR rest API

This is a basic information that distinguish between current staff and leavers.

  • Attach files
  • Guest
    Reply
    |
    Jan 3, 2025

    Exaclty what Ewa writes, it's kind of useless having the system status when the only hr records returned are for active employees. We need the endpoint to include all employees, regardless of system status, so we can then filter according to our needs. As it stands now, I have an integrataion with our HR system, but as soon as the employee is archived it's as if they never even existed in iSAMS. We often have employees return after leaving. If you are concerned with breaking existing integrations you could always add a filter that defaults to only active records, but allows to request other status codes.

  • Guest
    Reply
    |
    Jan 3, 2025

    Hi Nicholas. Thank you for the reply. This is the problem. It would be good if the endpoints include all the employees with the status filter. At the moment when an employee leaves they just stop appearing on APIs but same will happen if there is an error with API. This is why you cannot rely on employee appearing on API or not. The status filed would be more useful to rely on.

  • Admin
    Nicholas Clark
    Reply
    |
    Oct 25, 2024

    System Status is already included on the /api/humanresources/employees/ endpoints. However, these endpoints only include current employee records.