v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Timeoff > AllowanceIncidence

Deletes an Allowance incidence

Deletes an allowance incidence

delete/api/2026-07-01/resources/timeoff/allowance_incidences/{id}

Path parameters

idstring required

Response

OK

idstring required

Unique identifier of the allowance incidence

employee_idstring required

Employee id of the affected employee

descriptionstring

Optional comment regarding the incidence

days_in_centsinteger required

How many units * 100 does the incidence add/substract. Can be positive or negative. Example is one unit

timeoff_allowance_idstring required

To what allowance does the incidence affect. It will dictate if its days or hours

effective_onstring required

When does the incidence take effect; this is for time off cycles calculations.

target_balancestring

Whether the incidence affects the Accrued or the Available counter.

created_atinteger required

Unix timestamp when the DB record was created

updated_atinteger required

Unix timestamp when the DB record was last updated

Example response

{
  "id": "1",
  "employee_id": "1",
  "description": "Added because working on a holiday",
  "days_in_cents": 100,
  "timeoff_allowance_id": "2",
  "effective_on": "2024-01-02",
  "target_balance": "accrued",
  "created_at": 1723623354,
  "updated_at": 1723623354
}