How to filter the Manager among the list of mangers in Rest API
Summary: I'm trying to fetch only Line Manager details through Rest API but I'm getting all Manager Types
Content (required):/hcmRestApi/resources/11.13.18.05/workers?q=(PersonNumber='100145' and workRelationships.assignments.managers.ManagerType ='LINE_MANAGER' )&fields=PersonId,PersonNumber;workRelationships.assignments:AssignmentId;workRelationships.assignments.managers:ManagerType&onlyData=True
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):