Discussions

Ask a Question

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!

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?

Sandbox

Is there a sandbox where I can test my code without disturbing the live system?

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

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?

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
ANSWERED

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?

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

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

Issue Uploading documents via API

Hello Guys, i’m running into an issue while uploading a document via API (/company/documents) HTTP request. Request-Header and -Body looking good in my opinion. Just compared that with an example request at the developer hub. But my response ended every time in: {"success":false,"error":{"message":"Bitte geben Sie category id ein, um fortzufahren. (and 3 more errors)","code":0,"error_data":{"category_id":["Bitte geben Sie category id ein, um fortzufahren."],"title":["Bitte geben Sie title ein, um fortzufahren."],"employee_id":["Bitte geben Sie employee id ein, um fortzufahren."],"file":["Bitte geben Sie file ein, um fortzufahren."]}}} Can you have a look what’s wrong? Personio-Partner-ID: PRECHTLGMBH X-Personio-App-ID: PEPINTERNET Thanks a lot. Best regards Tony