Discussions

Ask a Question
Back to All

Possible to only get the value from an attribute?

Hello Personio team,

My question is, if there is a possibility to use the API call '/company/employees?attributes[]=first_name' to only return something like this:

"data": [
    {
        "type": "Employee",
        "attributes": {
            "id": 123456,
            "first_name": "Michael
        }
    },.....

In my case I dont need the rest of the attributes information, just the value itself.

thanks in advance