Added a flag in the Employee List API to retrieve active and inactive employees separately. #38

Merged
vikas.nale merged 1 commits from Ashutosh_Enhancement#172_Show_InactiveEmployees into Issues_May_2W 2025-05-08 05:38:16 +00:00
Collaborator

API Endpoint: api/employee/list
Before Changes:

  1. If a Project ID is provided, return the list of employees assigned to that project.
  2. If no Project ID is provided, return the list of all employees in the tenant.

After Changes:

  1. If a Project ID is provided, return the list of employees assigned to that project.
  2. If no Project ID is provided and showInactive = true, return the list of inactive employees in the tenant.
  3. If no Project ID is provided and showInactive = false, return the list of active employees in the tenant.
**API Endpoint**: api/employee/list **Before Changes**: 1. If a Project ID is provided, return the list of employees assigned to that project. 2. If no Project ID is provided, return the list of all employees in the tenant. **After Changes**: 1. If a Project ID is provided, return the list of employees assigned to that project. 2. If no Project ID is provided and **showInactive = true**, return the list of inactive employees in the tenant. 3. If no Project ID is provided and **showInactive = false**, return the list of active employees in the tenant.
ashutosh.nehete added 1 commit 2025-05-08 04:45:06 +00:00
vikas.nale merged commit d807ac1998 into Issues_May_2W 2025-05-08 05:38:16 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/marco.pms.api#38
No description provided.