General
- Introduction
- Getting started
- Implementation guide
- FAQ
Features
Guides
HRIS API Reference
- Employees
- Organization
- Employee Documents
- Time off
- Time and attendance
General API Reference
- Kombo Connect
- Integrations
- Filtering
- Custom Fields
- Other
DATEV
- Getting Started
- DATEV Payroll
- DATEV Documents ( Payslips )
- DATEV eAU
- DATEV ( legacy )
Delete absence
Delete this absence.
Create an API key on the Secrets page in the Kombo dashboard.
ID of the integration you want to interact with.
The Kombo ID of the absence
Additional fields that we will pass through to specific HRIS systems.
Fields specific to ADP Workforce Now.
[Required] The employment ID of the employee that the absence will be deleted from.
{
"status": "success",
"data": {
"id": "22st2Ji8XpncEYEak8mvQgQF",
"remote_id": "1348",
"employee_id": "JDdUy9kiH5APaGizFrgNmQjM",
"approver_id": "AgXEispYPP1BbToHpqnqcpxy",
"start_date": "2022-08-04",
"end_date": "2022-08-05",
"start_half_day": true,
"end_half_day": false,
"start_time": "13:15:00",
"end_time": "17:00:00",
"amount": 2,
"unit": "DAYS",
"status": "APPROVED",
"employee_note": "Visiting my family.",
"type_id": "xzZoKssDaMZAd62kxayzzQvD",
"changed_at": "2022-08-07T14:01:29.196Z",
"remote_deleted_at": "2022-08-07T14:01:29.196Z",
"remote_data": null
}
}
This feature is currently available for the following integrations:
- Personio
- SAP SuccessFactors
- Factorial
- BambooHR
- HiBob
- Deel
- Sesame HR
- AlexisHR
- Kombo Sandbox
You’d like to see this feature for another integration? Please reach out! We’re always happy to discuss extending our coverage.
This endpoint requires the permission Manage absences to be enabled in your scope config.
Example Request Body
{
"absence_id": "wXJMxwDvPAjrJ4CyqdV9"
}
Authorizations
Headers
ID of the integration you want to interact with.
Path Parameters
The Kombo ID of the absence
Body
Response
success
The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
The Kombo ID of the employee to which the absence belongs to. The ID can be used to retrieve the employee from the get employees
endpoint.
(⚠️ Deprecated - We won't increase coverage for this feature) The Kombo ID of the employee who is responsible for approving this absence.
The date this absence starts in the yyyy-MM-dd
format.
The date this absence ends in the yyyy-MM-dd
format.
true
if the absence starts in the middle of the day, false
if not, and null
if the absence type doesn't support half-day absences. For multi-day absences, this only applies to the first day of the absence.
true
if the absence ends in the middle of the day, false
if not, and null
if the absence type doesn't support half-day absences. For multi-day absences, this only applies to the last day of the absence.
The time at which this absence starts. Follows the format HH:mm:ss
(e.g., 14:45:15
).
The time at which this absence ends. Follows the format HH:mm:ss
(e.g., 14:45:15
).
The amount of time this absence takes.
The unit of time for this absence. Can be HOURS
or DAYS
.
HOURS
, DAYS
The absence’s current status. In rare cases where we can’t find a clear mapping, the original string is passed through.
REQUESTED
, APPROVED
, DECLINED
, CANCELLED
, DELETED
A note the employee has added to this absence.
The Kombo absence type ID of this absence.
The timestamp when this object was last changed. This value is tracked by Kombo based on changes in the data.
The date and time the object was deleted in the remote system. Objects are automatically marked as deleted when Kombo can't retrieve them from the remote system anymore. Kombo will also anonymize entries 14 days after they disappear.
Includes the data fetched from the remote system. Please be aware that including this in you scope config might violate other scopes that are set.
Remote data always has the endpoint path that we got the data from as the
top level key. For example, it could look like: { "/companies": { ... }}
This is not available on all plans. Reach out to Kombo if you need it.
{
"status": "success",
"data": {
"id": "22st2Ji8XpncEYEak8mvQgQF",
"remote_id": "1348",
"employee_id": "JDdUy9kiH5APaGizFrgNmQjM",
"approver_id": "AgXEispYPP1BbToHpqnqcpxy",
"start_date": "2022-08-04",
"end_date": "2022-08-05",
"start_half_day": true,
"end_half_day": false,
"start_time": "13:15:00",
"end_time": "17:00:00",
"amount": 2,
"unit": "DAYS",
"status": "APPROVED",
"employee_note": "Visiting my family.",
"type_id": "xzZoKssDaMZAd62kxayzzQvD",
"changed_at": "2022-08-07T14:01:29.196Z",
"remote_deleted_at": "2022-08-07T14:01:29.196Z",
"remote_data": null
}
}