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
Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here
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.

Trying to fetch the 'Cost Center' field using API

Summary:

I am trying to find the 'Cost Center' field using one of the Rest APIs provided. Usually, all the information that I need from an user is located in the endpoint '/hcmRestApi/resources/11.13.18.05/publicWorkers' where I am using the parameter '?finder=findByWorkerAttr;DisplayName=${DisplayName}, OnlyPrimaryAssignmentFlag=true' to fetch the information of the specific user.

However, I am not able to find any field related to the Cost Center name, which is the field that I am missing.

I have searched in the documentation that it exists an endpoint called '/hcmRestApi/resources/11.13.18.05/hcmCostCentersLOV/{CostCenterId}' which can return the Cost Center name based on the Cost Center ID. However, I do not have the Cost Center ID to begin with, so I am hoping that I am able to fetch the user's Cost Center name using only its profile name as a parameter, since it is the only variable that I have.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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