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.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Rest API To get Employee User Person Type and Employee salary.
Summary:
We want to fetch Employee salary and Person type using Java script, which will be used in Oracle Intelligent advisor interviews.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Currently we are using Public worker API.
function setemployeedetails (personId,interview,username)
{
//This function would get the employee details
var JWT = interview.getValue("JWT")
var myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer "+JWT);
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
0