Filter by AssignmentId
Summary:
Hello,
I need to find out the company for a specific "AssignmentId" for a development task. So, using "REST-Framework-Version = 7," I am trying to launch this filter:
"hcmRestApi/resources/latest/workers?onlyData=true&effectiveDate=2023-10-01&expand=workRelationships.assignments&q=((PersonNumber='12345') and (workRelationships.assignments.AssignmentId=300000056353644))"
However, it is actually returning all "workRelationships" and all "assignments" for the employee. In other words, it is bringing the same values as if I were filtering like this:
"hcmRestApi/resources/latest/workers?onlyData=true&effectiveDate=2023-10-01&expand=workRelationships.assignments&q=((PersonNumber='12345'))"
How could I create a correct filter?
Thank you very much.