curl --request POST \
--url https://api.example.com/api/schedule/absences.update \
--header 'Content-Type: application/json' \
--data '
{
"id": "872815618512410358",
"options": {
"group_action": "single",
"allow_partial": true
},
"absence_type_id": "872815618512410358",
"percentage": 100,
"time_ranges": [
"12:34:56/PT2H"
],
"repetition_id": 123,
"remark": "<string>"
}
'