# Get all employees

Returns a filtered and paginated list of employees within the current account context.
            
Behavior:
- Supports pagination using the start query parameter
- Applies filtering criteria from the request body
- Retrieves employees accessible to the current user
- Returns structured employee response data
- Logs the action as employee list view

Endpoint: POST /api/v1/portfolio/employees

## Query parameters:

  - `start` (string)

## Request fields (application/json-patch+json):

  - `assigned` (boolean)

  - `unassigned` (boolean)

  - `levelId` (string,null)

  - `buildingId` (string,null)

  - `locationId` (string,null)

  - `employeeId` (string,null)

  - `roomId` (string,null)

  - `datafieldIds` (array,null)

  - `selectedIds` (array,null)

  - `siteIds` (array,null)

  - `buildingIds` (array,null)

  - `levelIds` (array,null)

  - `isEmployeeWithSpaceHandle` (boolean)

  - `status` (array,null)

  - `fieldValues` (array,null)

  - `fieldValues.dataFieldId` (string)

  - `fieldValues.dataFieldValue` (string,null)

  - `fieldValues.dataFieldlabel` (string,null)

  - `fieldValues.dataFieldValueIds` (array,null)

  - `fieldValues.fromDate` (string,null)

  - `fieldValues.toDate` (string,null)

  - `fieldValues.dataFieldValueRangeType` (string,null)

  - `isAdvancedSearch` (boolean,null)

  - `keyword` (string,null)

  - `sortColumn` (string,null)

  - `sortColumnId` (string,null)

  - `sortOrder` (string,null)

  - `filter` (string,null)

## Response 200 fields (text/plain):

  - `data` (object)

  - `data.listProperties` (object)

  - `data.listProperties.totalCount` (integer)

  - `data.listProperties.currentStart` (integer)

  - `data.listProperties.currentLength` (integer)

  - `data.listProperties.pageCount` (integer)

  - `data.employees` (array,null)

  - `data.employees.locationInfo` (object)

  - `data.employees.locationInfo.location` (string,null)

  - `data.employees.locationInfo.locationId` (string,null)

  - `data.employees.locationInfo.building` (string,null)

  - `data.employees.locationInfo.buildingId` (string,null)

  - `data.employees.locationInfo.level` (string,null)

  - `data.employees.locationInfo.levelId` (string,null)

  - `data.employees.locationInfo.room` (string,null)

  - `data.employees.locationInfo.roomId` (string,null)

  - `data.employees.locationInfo.workspace` (string,null)

  - `data.employees.locationInfo.workspaceId` (string,null)

  - `data.employees.locationInfo.spaceKey` (string,null)

  - `data.employees.locationInfo.spaceAssignedOn` (string,null)

  - `data.employees.locationInfo.spaceCategory` (object)

  - `data.employees.locationInfo.spaceCategory.spaceCategoryId` (string)

  - `data.employees.locationInfo.spaceCategory.spaceCategoryName` (string,null)

  - `data.employees.locationInfo.spaceCategory.spaceCategoryCode` (string,null)

  - `data.employees.locationInfo.roomFunction` (object)

  - `data.employees.locationInfo.roomFunction.roomFunctionId` (string)

  - `data.employees.locationInfo.roomFunction.roomFunctionName` (string,null)

  - `data.employees.locationInfo.spaceArea` (number,null)

  - `data.employees.locationInfo.levelPlanHandle` (string,null)

  - `data.employees.locationInfo.employeeLocationId` (string,null)

  - `data.employees.locationInfo.rollBackInfo` (object)

  - `data.employees.locationInfo.rollBackInfo.isRollBack` (boolean)

  - `data.employees.locationInfo.rollBackInfo.rollBackType` (string,null)

  - `data.employees.locationInfo.rollBackInfo.employeeLocationId` (string)

  - `data.employees.locationInfo.rollBackInfo.comments` (string,null)

  - `data.employees.locationInfo.levelPlanId` (string,null)

  - `data.employees.locationInfo.planFile` (object)

  - `data.employees.locationInfo.planFile.fileId` (string)

  - `data.employees.locationInfo.planFile.fileName` (string,null)

  - `data.employees.locationInfo.planFile.fileSize` (string,null)

  - `data.employees.locationInfo.planFile.currentRevisionNumber` (integer)

  - `data.employees.locationInfo.planFile.createdOn` (string,null)

  - `data.employees.locationInfo.planFile.fileSizeInBytes` (integer)

  - `data.employees.locationInfo.planFile.createdDate` (string)

  - `data.employees.locationInfo.planFile.createdBy` (string,null)

  - `data.employees.locationInfo.planFile.isLatest` (boolean)

  - `data.employees.locationInfo.cadPlanCoordinates` (array,null)

  - `data.employees.locationInfo.spaceAssignedOnDateTimeFormat` (string,null)

  - `data.employees.locationInfo.svgPlanAdded` (boolean)

  - `data.employees.employmentType` (object)

  - `data.employees.employmentType.employmentTypeId` (string)

  - `data.employees.employmentType.employmentTypeName` (string,null)

  - `data.employees.employmentType.employmentTypeCode` (string,null)

  - `data.employees.employeeCategory` (object)

  - `data.employees.employeeCategory.employeeCategoryId` (string)

  - `data.employees.employeeCategory.employeeCategoryName` (string,null)

  - `data.employees.employeeCategory.employeeCategoryDescription` (string,null)

  - `data.employees.employeeCategory.isLaborCategory` (boolean)

  - `data.employees.employeeCategory.responseDescription` (string,null)

  - `data.employees.supervisor` (object)

  - `data.employees.status` (object)

  - `data.employees.status.statusId` (string)

  - `data.employees.status.statusCode` (string,null)

  - `data.employees.status.statusName` (string,null)

  - `data.employees.status.statusColor` (string,null)

  - `data.employees.employeeWorkMode` (object)

  - `data.employees.employeeWorkMode.employeeWorkModeId` (string)

  - `data.employees.employeeWorkMode.employeeWorkModeName` (string,null)

  - `data.employees.employeeWorkMode.employeeWorkModeCode` (string,null)

  - `data.employees.serviceEndDate` (object)

  - `data.employees.serviceEndDate.serviceEndDate` (string,null)

  - `data.employees.serviceEndDate.status` (object)

  - `data.employees.serviceEndDate.status.statusId` (string)

  - `data.employees.serviceEndDate.status.statusCode` (string,null)

  - `data.employees.serviceEndDate.status.statusName` (string,null)

  - `data.employees.serviceEndDate.status.statusColor` (string,null)

  - `data.employees.employeeId` (string)

  - `data.employees.employeeName` (string,null)

  - `data.employees.employeeFirstName` (string,null)

  - `data.employees.employeeMiddleName` (string,null)

  - `data.employees.employeeLastName` (string,null)

  - `data.employees.email` (string,null)

  - `data.employees.employeeCode` (string,null)

  - `data.employees.employeeRole` (string,null)

  - `data.employees.profilePic` (string,null)

  - `data.employees.dateOfTermination` (string,null)

  - `data.employees.dateOfJoining` (string,null)

  - `data.employees.employeeUserId` (string,null)

  - `data.employees.isTechnician` (boolean)

  - `data.employees.isCreateUserAccount` (boolean)

  - `data.employees.userRoles` (array,null)

  - `data.employees.userRoles.accountAccessGroupId` (string)

  - `data.employees.userRoles.accountAccessGroupName` (string,null)

  - `data.employees.isSupervisor` (boolean)

  - `data.employees.isRollBackAllowed` (boolean)

  - `message` (string,null)

  - `isError` (boolean)

  - `messageCode` (integer)

  - `status` (string,null)

  - `errorType` (string,null)

  - `traceid` (string,null)

  - `responseDescription` (string,null)


