Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Absence entry creation via REST API when a resource exception is defined
We have a requirement to create absence entries when a resource exception is defined via REST API. But while creating the absence the API is taking the start and end time as 00:00 and 23:59 and duration of the absence is pulled by default from the resource exception.
We are using the below mentioned API.
/hcmRestApi/resources/11.13.18.05/absences
Below are the request and response payload
While the absence is getting created, a 10.667 hour absence is created (duration of the resource exception) instead of a 20 min absence as mentioned in the request payload. The duration is pulled in from the existing resource exception and the end time is 23:59.
Tagged:
0