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.
Loading absences via REST API
Summary
Loading absences via REST APIContent
Hi Team
We are loading absences via the create absence REST API.
Below is the pay load.
{
"personNumber": "100008",
"employer": "CCS",
"absenceType": "CABS_Annual_Vacation_Leave_Type",
"startDate": "2020-05-07",
"endDate": "2020-05-07",
"startDateDuration" : "4.000",
"endDateDuration": "4.000",
"duration": "4.000",
"absenceStatusCd": "SUBMITTED",
"approvalStatusCd": "AWAITING"
}
When i load this API, i see the below 2 issues.
1. The absences does not go to approval hierarchy, it gets auto approved ( I ensured that the bypass approval is not checked ). Should i set any other parameter for absence approvals?
2. The duration of absence is not reflected in UI ( see screenshot)
I am using an elapsed schedule for employee, so not sure what to give in start and end duration. ( My employee is on a 4 hr work schedule, elapsed)
Tagged:
1