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.

REST API fields query parameter issue

edited Mar 4, 2019 4:49PM in HCM Integrations 1 comment

Summary

The fields parameter does not seem to return more than 1 field within a level

Content

On 18C - I want to see if others are running into this or a similar issue before I log an SR. In my endpoint I am requesting PersonNumber, DisplayName (as well as AssignmentName) from the endpoint. At the top level, only DisplayName shows in the output. I would expect to see both PersonNumber and DisplayName.

Request

?fields=PersonNumber;DisplayName;assignments:AssignmentName

Output

{'DisplayName': 'Wade Wilson', 'assignments': [{'AssignmentName': 'Primary Assignment'}]}

 

However, if I flip the positioning of PersonNumber/DisplayName, then the response contains PersonNumber, but not DisplayName.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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