Skip to content

Wrong type for half_day_start and half_day_end in response https://api.personio.de/v1/company/time-offs #204

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

Open
Vardaleb opened this issue Mar 27, 2025 · 0 comments

Comments

@Vardaleb
Copy link

According to the spec:

half_day_start:
type: boolean

half_day_start and half_day_end are of type boolean. But the response in https://api.personio.de/v1/company/time-offs returns them as integer:

        "half_day_start": 0,
        "half_day_end": 0,

I expect them to be booleans instead:

        "half_day_start": false,
        "half_day_end": false,
Vardaleb added a commit to CIAO-systems/personio-rs that referenced this issue Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant