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
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Accessing Employee Assignments with REST API

edited Nov 5, 2018 11:18AM in HCM Integrations 6 comments

Summary

help required w/ Employee assignments REST API

Content

Hello Exprerts,

Can you please let me know the correct syntax for accessing employee assignments using REST API? I have tried below combinations with no luck

https://xxxx-xx.xx.****.oraclecloud.com:443/hcmRestApi/resources/11.13.18.05/emps?q=PersonId=100110016111751/child/assignments?q=AssignmentId=100110016411180

above request gives "500 Internal Server Error"

Please note that the following request works fine and fetches expected result - https://xxxx-xx.xx.****.oraclecloud.com:443/hcmRestApi/resources/11.13.18.05/emps?q=PersonId=100110016111751

https://xxxx-xx.xx.xxxoraclecloud.com:443/hcmRestApi/resources/11.13.18.05/assignments?q=AssignmentId=100110016411180 fetches 0 rows.

I have also tried /hcmRestApi/resources/11.13.18.05/emps/{empsUniqID}/child/assignments/{assignmentsUniqID} by using template variables in SoapUI by passing PersonId and AssignmentId but got "

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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