Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add available_balance attribute to employee's Public API endpoint #186

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading