How to GET all active employees from the worker API endpoint
Summary:
Need to GET all active employees from the worker API endpoint, but it is returning active and inactive employees.
Content (please ensure you mask any confidential information):
/hcmRestApi/resources/11.13.18.05/workers?q=(workRelationships.assignments.AssignmentStatusType='ACTIVE') and (workRelationships.assignments.PrimaryFlag=true) and (DateOfBirth is not null)&totalResults=True&limit=25&expand=workRelationships.assignments
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
{
"items": [
{
"PersonId": 300000027235552,
"PersonNumber": "00337524",
"DateOfBirth": "1969-07-25",
"workRelationships": [
{
"assignments": [
{
"AssignmentStatusType": "INACTIVE",
"PrimaryFlag": false,