v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
EmployeeUpdates > Absence

Reads a single Absence

This endpoint can be used to retrieve a list of absence employee updates.

get/api/2026-07-01/resources/employee_updates/absences/{id}

Path parameters

idstring required

filter by absence incidence ids.

Response

OK

idstring required

Identifier of the absence employee update

statusstring required

The status of the employee update.

employee_idstring

Employee id of the absence

employee_full_namestring

Full name of the employee

approvedboolean

Indicates if the absence is approved

descriptionstring

A description of the absence

start_onstring

The start date of the absence

prev_start_onstring

The previous start date of the absence

finish_onstring

The end date of the absence

prev_finish_onstring

The previous end date of the absence

half_daystring

Indicates if the absence is taken as a half-day

hours_amount_in_centsinteger

The total number of hours taken for the absence, represented in cents

leave_type_idstring

The id of the leave type

leave_type_namestring

The name of the leave type

Example response

{
  "id": "1",
  "status": "done",
  "employee_id": "1",
  "employee_full_name": "Bob The Boss",
  "approved": true,
  "description": "Trip to Norway",
  "start_on": "2021-06-07",
  "prev_start_on": "2021-06-07",
  "finish_on": "2021-06-09",
  "prev_finish_on": "2021-06-07",
  "half_day": "end_of_day",
  "hours_amount_in_cents": 80000,
  "leave_type_id": "1",
  "leave_type_name": "Annual leave"
}