What's new in Customer Journeys?

Connect and learn more! ×
Filter by AssignmentId — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Filter by AssignmentId

Received Response
31
Views
5
Comments
edited Dec 23, 2023 8:58AM in HCM REST APIs 5 comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!