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
Get Started with Redwood for Oracle Cloud HCM   Begin Now

Worker API to get the worker's latest active assignment

edited Apr 19, 2021 2:14PM in HCM Integrations 8 comments

Content

One of our vendor is using the Worker API to get the worker's active assignment.
The Worker API is working fine, but the vendor is having issues retrieving the worker child resources through API. They have to excute 2-3 API Calls to retrieve the active assignments. Is there any alternate endpoint to use to pull both the parent and child resource together?

Currently, this is how they pull the worker info -
 
1. Make an API call to: https://****.fa.us2.oraclecloud.com:443/hcmRestApi/resources/11.13.18.05/workers/?q=PersonNumber=123 just to get the array of links. Then would need to step through the links array and check the value of “name”, if the value of name equals "workRelationships" then get the “href” link, and make a subsequent call to that API endpoint.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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