Get Attendance Novelties
Attendance novelties of a period, ready to load into payroll: the same rows and the same 13 columns as the Excel report downloaded from Attendance cards («Descargar reporte»), with the same period and concepts.
- One row per novelty: overtime, tardiness, absences, early departures, work on rest days, holidays and Sundays, time off with and without pay, sick leave and compensated time. Overtime comes as one row per pay factor.
from_dateandto_dateare required, inclusive, and at most 31 days apart.conceptsnarrows the rows to some concepts (comma separated). Without it, every concept is returned.- A cell the Excel report shows as a dash comes as
null, never as empty text. - Rows follow the order of the Excel report: by person, then by date. Walk them with
cursor/next_cursor. - Requires credentials of an administrator of the organization.
Authentication
API key of the organization. Always sent together with the Secret-Access header.
Path parameters
Headers
Query parameters
Required, in YYYY-MM-DD format. Inclusive. The window between from_date and to_date cannot exceed 31 days. Applies to the day of the novelty (start_date), the same period the Attendance cards Excel report asks for.
Required, in YYYY-MM-DD format. Inclusive. The window between from_date and to_date cannot exceed 31 days. Applies to the day of the novelty (start_date), the same period the Attendance cards Excel report asks for.
Concepts to include, comma separated, for example EXTRA_HOURS,SICK_LEAVE. Omit it to get every concept. Valid values: EXTRA_HOURS, TARDINESS, UNJUSTIFIED_ABSENCE, EARLY_DEPARTURE, WORKED_REST_DAY, WORKED_HOLIDAY, SUNDAY_WORKDAY, PAID_TIME_OFF, UNPAID_TIME_OFF, SICK_LEAVE, COMPENSATED_TIME.
Cursor for the next page. Take it from next_cursor in the previous response and send it back unchanged; it is opaque. Omit it for the first page. It points to a row position: if the attendance of the period is recalculated between two pages, the walk can repeat or skip a row, so prefer periods already closed.
Response
Send it as cursor to get the next page.
