Get Employee Vacation Balance

Prev Next

Overview

This section describes the steps required to retrieve the vacation balance for an employee.

Additional Rules

  • New days are added with the report "Add. Vacation Days" in Business Central, which should be run manually by the user from the Business Central interface.
  • The vacation balance for sprEmployee will be returned in work days or calendar days, depending on the employee's work schedule setup.

Steps

  1. Retrieve Vacation Balance
    • Method: [GET] "sprVacationBalances"
    • Filter: $filter date
    • Info: The date filter is used to pass the date on which the vacation balance should be calculated. It is also possible to filter out terminated employees with an additional filter on the field terminationDate.