invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

LeaveBalancesGroupedByEmployerId_ContentGroups: Loket.nl REST Grouped Leave Balance Groups by Employer ID

read only REST

  • Catalog: LoketNlRest
  • Schema: LeaveBalance
  • Label: Grouped Leave Balance Groups by Employer ID

Summed up leave balance total and grouped by Activity name : GetLeaveBalancesGroupedByEmployerId

Returns the yearly leave balances total per leave type and total per groupBy

Can only retrieve data.

API Source

  • Endpoint: /providers/employers/{employerId}/leavebalances/grouped
  • Operation: get /providers/employers/{employerId}/leavebalances/grouped

Parameters

Name Data Type Required Default Documentation
employerId `` The unique identifier of the employer
groupBy `` Select the groupBy (Waarden: Department, Function)
referenceDate `` Set a reference date for the following logic 1. To determine the active function and department of the employment 2. To calculate usageAfterToday and usageThroughToday 3. To determine the year for which the leave balance is returned If not provided, "today" is used

Table Columns

The columns of the table LeaveBalancesGroupedByEmployerId_ContentGroups are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
accrual double itgen_loketnl_accrual The amount of leave units accrued for the leave type in the year
balance double Balance The remaining leave balance for the year and leave type. The balance takes into account the leave usage in the future.
balancePreviousYear double Balance Previous Year The remaining leave balance from the previous year for the leave type
group_description varchar2(50) itgen_loketnl_group_description The description of the groupBy, either the department or function
group_id guid itgen_loketnl_group_id The unique identifier of an object (GUID/UUID)
leaveType_balanceExceedsYear char itgen_loketnl_leavetype_balanceexceedsyear Indicates whether the balance at the end of the year for this leave type carries over to the next year.
leaveType_key int32 Leave Type Key The key for the leave type.
leaveType_value varchar2 Leave Type Value The description for the leave type. Note that leave types can be overridden at the employer level. In these cases the description at the employer level takes precedence over the default description of the leave type.
usageAfterReferenceDate double itgen_loketnl_usageafterreferencedate The amount of leave units used for the leave type in the year after referenceDate
usageThroughReferenceDate double itgen_loketnl_usagethroughreferencedate The amount of leave units used for the leave type starting from the beginning of the year up to and referenceDate
usageTotal double Usage Total The total amount of leave units used for the leave type in the year.
year int32 Year The year to which the balance of the leave type applies.

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: