v
latestOpenAPI 3.0.0Proprietary2026-08-09130577659.7 KBTime Tracking|Absence
Create/Update absences.
This method can be used to create and update absences.
An attempt is made to locate an existing absence based on the selected primary key. If one is found, it will be adjusted. Otherwise, a new absence will be created. If the deleteMissing flag is activated, all records not included in the request will be deleted. If the dryRun option is enabled, no actual changes will occur. It is important to note that absences could affect the employees' time account.
post/employee_absence/upsert
Request body
Example request
{
"records": [
{
"data": {
"date": "2015-02-20"
}
}
]
}Response
Success Response:
Example response
{
"createdAbsences": [
{
"date": "2015-02-20",
"updatedAt": "2015-02-20"
}
],
"updatedAbsences": [
{
"date": "2015-02-20",
"updatedAt": "2015-02-20"
}
],
"deletedAbsencecs": [
{
"date": "2015-02-20",
"updatedAt": "2015-02-20"
}
]
}