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: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

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!