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

How to filter by multiple child links field values

Received Response
43
Views
1
Comments
edited Oct 25, 2023 1:10PM in HCM REST APIs 1 comment

Summary:

The need is to retrieve (GET) data through a REST request to the workers endpoint by filtering by multiple fields located at different levels of the record. For example, I need to retrieve information about the address and the work relationship of a specific worker, filtering by the PersonNumber, the addresses.addressType='HOME' and the workRelationships.assignments.AssignmentNumber='E42434'. Is it possibile to place all these filters in a unique call? Attached I send the response (attachment1) for the call https://fa-ekzu-test-saasfaprod1.fa.ocs.oraclecloud.com/hcmRestApi/resources/11.13.18.05/workers?q=PersonNumber='42434'&expand=addresses,workRelationships.assignments

I want to get the response specified in attachment2.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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