# Get employee summary

Returns a consolidated summary of employee-related information for the
current account context.

Behavior:
- Aggregates employee counts and statuses
- Includes active, inactive, assigned, and unassigned employees
- Provides key metrics for reporting or dashboard purposes
- Logs the summary view action

Endpoint: POST /api/v1/portfolio/employees/summary

## Response 200 fields (text/plain):

  - `data` (object)

  - `data.totals` (object)

  - `data.totals.all` (integer)

  - `data.totals.assigned` (integer)

  - `data.totals.unAssigned` (integer)

  - `data.totals.byGender` (array,null)

  - `data.totals.byGender.genderId` (string)

  - `data.totals.byGender.genderName` (string,null)

  - `data.totals.byGender.employees` (integer)

  - `data.totals.byOrganizationalUnit` (array,null)

  - `data.totals.byOrganizationalUnit.levelName` (string,null)

  - `data.totals.byOrganizationalUnit.unitIdentifier` (string,null)

  - `data.totals.byOrganizationalUnit.unitName` (string,null)

  - `data.totals.byOrganizationalUnit.employees` (integer)

  - `message` (string,null)

  - `isError` (boolean)

  - `messageCode` (integer)

  - `status` (string,null)

  - `errorType` (string,null)

  - `traceid` (string,null)

  - `responseDescription` (string,null)


