personio / api-docs

Personio API documentation
26 stars 49 forks source link

employees/employee_id response only contains ID #40

Open ubergesundheit opened 3 years ago

ubergesundheit commented 3 years ago

Do I need to configure some permissions for my client_id and client_secret somewhere?

After obtaining a bearer token I did:

curl -v 'https://api.personio.de/v1/company/employees/XZY' -H "authorization: Bearer $TOKEN" --header 'Accept: application/json'
{"success":true,"data":{"type":"Employee","attributes":{"id":{"label":"ID","value":XYZ}}}}
lmf-git commented 1 year ago

@ubergesundheit you've probably resolved this by now, but the issue in my case was that the client had limited scope/access.