REST query parameters — 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

REST query parameters

edited Oct 6, 2017 9:28PM in HCM Integrations 5 comments

Summary

Trying to retrieve 2+ records using primary key in query parameters

Content

Hi,

I'm making the jump into Oracle Cloud HCM REST services. Something I've noticed is that I can't seem to retrieve more than 1 record using primary keys as search (either by 'finder' or 'q'). I can grab the full dataset and process the records that I want, or make multiple requests. Before I went down either route, I wanted to see if the community has any suggestions. I have tried the following...

/hcmCoreApi/resources/latest/emps?finder=findByPersonId;PersonId=123,PersonId=456
/hcmCoreApi/resources/latest/emps?q=PersonId=123&q=PersonId=456

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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