Discussions
How can I construct the HTTP call to upload DocX or PDF documents?
Hi,
I'm struggling to get the correct HTTP call. When I follow the API documentation the files are being uploaded as txt files instead of the correct file extension (DocX or PDF). I've read in another thread that base64 encoded wasn't supported, but the documentation still states that the stream is base64 encoded. But as this isn't working what kind of stream should I offer in the HTTP call to have a DocX or PDF correctly being uploaded?
Posted by Jeroen about 15 hours ago
Attendance balance
Hello! I'm trying to retrieve an employee attendance balance but I can't find that info coming from any of the endpoints. I'm missing something with documentation or is it not supported and need to be calculated? Thanks!
Posted by Leandro Luvigne 1 day ago
Is there a list of applications which are used for the specific file extensions?
Hi,
I'm working on the implementation of the Personio API but I don't find any list of applications which belongs to which file extension. Is there such list so that I can add that to my script?
Posted by Jeroen Floor 3 days ago
Sandbox
Is there a sandbox where I can test my code without disturbing the live system?
Posted by Robert Rissé 6 days ago
403 Error
Hallo,
wir haben einen 403 Error bei unserem API Tool. ich bekomme Unbehandelte ausnahme: Personio Import.API.ForbiddenAPIExpection: 403: Forbidden
{"success":false,"error":{"code":0,"message":"Wrong credentials"}}
Der Account ist arge-aiwwf
könnt ihr Euch das bitte anschauen
Liebe Grüße
Posted by Peter Wallner 7 days ago
Random 401 Unauthorized from /auth
Our node job makes several requests to /auth to get a token for each API call.
Starting yesterday, 21 March, /company/time-offs/ responded with a 500 error early into the job. The job continued, then /auth responded 401 unauthorized 9 times - seemingly randomly.
This morning, 22 March, /auth responded 401 unauthorized at random times again, only 3 times.
Any idea what is going on?
Posted by James Langridge 7 days ago
Time zone for updated_since on endpoint /company/employees
Hi Team,
Can you please share in which time zone expect the date given for the query parameter: updated_since on the /company/employees endpoint?
I'm asking, as we are getting inconsistent results and I would like to make sure, providing the date in the correct time zone.
Thanks!
Chris
Posted by Chris Wiechmann 8 days ago
time-offs after end_date are returned by api
<https://api.personio.de/v1/company/time-offs> doesn't respect the end_date parameter and returns time offs of the day after end_date.
This seems to be new. Is this a classic "1 off" bug?
Posted by Tobias Heim 14 days ago
updated_at property is falsly update for all abscense after changing time-model for employee
Hello!
we have a custom integration which fetches the abscenses for all of our employes based on when the abscence was last updated.
Today we changed the time-model for one of our employees and all abscences wer marked as "changed" with the timestamp of the time-model change. This has lead to multiple "false" updated abscenses.
Is this behavior normal? I guess "updated_at" should not have changed.
Thanks!
Benjamin
Posted by Benjamin Pill 15 days ago
Retrieve working hours for an employee
Hello,
how do you retrieve the working hours for a specific employee, e.g. 8am to 5pm using the API? An alternative would be two requests: 1) the set times for a working hour model and then 2) the assigned model of an employee.
Kind regards,
Thomas
Posted by Thomas Schick 24 days ago