Unable to update the absence record based on the unique Id
Summary: I am trying to update the absence record using the REST API -
/hcmRestApi/resources/11.13.18.05/absences/{absencesUniqID}, However I am facing an issue when I submit the request.
Error: I am getting the absence overlap error, even though I am just trying to update the duraation.
This is the code that I am using PATCH mode with the below URL and Unique ID.
https://ibrgjb-dev4.fa.ocs.oraclecloud.com//hcmRestApi/resources/11.13.18.05/absences/300000020538587
{
"absenceType": "Vacation",
"startDateDuration": "5.0",
"endDateDuration": "5.0",
"absenceStatusCd": "SUBMITTED",
"overridden": "Y"
}
Content (please ensure you mask any confidential information):
Please help on how do I update an absence record in a easier way, as even though if it works fine, getting the Unique Id is quite tough through the agent.