Skip to content

Commit

Permalink
Deprecate vacation_day_balance and add available_balance attribute to…
Browse files Browse the repository at this point in the history
… employee's Public API endpoint (#186)

* [ABSPOL-812] Deprecate vacation_day_balance and add available_balance attribute to employee's Public API endpoint
  • Loading branch information
SergeySkryabinP authored Apr 22, 2024
1 parent c4f9de9 commit 8630481
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions personio-personnel-data-api-oa3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3773,6 +3773,8 @@ components:
type: string
vacation_day_balance:
type: object
deprecated: true
description: Substituted by available_balance in EmployeeAbsenceBalance
properties:
label:
example: Vacation day balance
Expand Down Expand Up @@ -3889,7 +3891,15 @@ components:
example: custom_absence
balance:
type: number
description: >
Effective balance, as of request date; not deducting any upcoming absence periods,
but only what has been taken. If the absence period is currently ongoing,
the effective balance only considers the part of the period until today.
example: 10.5
available_balance:
type: number
description: Available balance is what actually left to be planned (where upcoming absence periods are already deducted).
example: 8.5

Project:
type: object
Expand Down

0 comments on commit 8630481

Please sign in to comment.