Get a list of employees.
Employees
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "total": 234,
- "offset": 200,
- "limit": 20,
- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "given_name": "John",
- "family_name": "Smith",
- "username": "john.smith@my-garage.com",
- "enabled": true,
- "correspondence_locale": "en-GB"
}
]
}
Add a new employee.
Employee to create
Successfully added employee.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "given_name": "John",
- "family_name": "Smith",
- "username": "john.smith@my-garage.com",
- "enabled": true,
- "correspondence_locale": "en-GB"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "given_name": "John",
- "family_name": "Smith",
- "username": "john.smith@my-garage.com",
- "enabled": true,
- "correspondence_locale": "en-GB"
}
Gets basic information of the employee like first-, family- and username. Using "me" as the employeeId
will return this information for the currently logged-in employee.
required | string or string Employee identifier. |
Successfully obtained employee
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "given_name": "John",
- "family_name": "Smith",
- "username": "john.smith@my-garage.com",
- "enabled": true,
- "correspondence_locale": "en-GB"
}
Change a new employee.
required | string or string Employee identifier. |
Properties to change.
Successfully changed employee.
Returned when a client sends a bad request
Returned when a request is performed without or with an incorrect OIDC token
Returned when a client requests a resource it's not authorized for.
Returned when an error occurs on the server
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "given_name": "John",
- "family_name": "Smith",
- "username": "john.smith@my-garage.com",
- "enabled": null,
- "correspondence_locale": "en-GB"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "given_name": "John",
- "family_name": "Smith",
- "username": "john.smith@my-garage.com",
- "enabled": true,
- "correspondence_locale": "en-GB"
}