Neue API-Version v7.4.2 wurde veröffentlicht! 🎉
REST Dokumentation
GET Mitarbeiter

Einzelnen Mitarbeiter abrufen

Mit diesem Endpunkt können Sie einen einzelnen Mitarbeiter abrufen.

Request

GET /api/v1/employees/:username
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/employees/alexandrea.stroman' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Response

{
	"data": {
		"username": "alexandrea.stroman",
		"firstname": "Alexandrea",
		"lastname": "Stroman",
		"personal_number": "4255",
		"street": null,
		"zip": null,
		"city": null,
		"country": null,
		"abbreviation": null,
		"salutation": {
			"id": "Frau",
			"name": "Frau"
		},
		"title": null,
		"email": "bmarquardt@example.com",
		"phone": "+1.479.610.5337",
		"mobile": null,
		"fax": null,
		"private_phone": null,
		"birthdate": "2003-04-20T00:00:00.000000Z",
		"iban": null,
		"bic": null,
		"account_no": null,
		"bank_name": null,
		"bank_code": null,
		"currency": null,
		"approval_date": null,
		"vat": null,
		"price_group": null,
		"employment": {
			"id": 0,
			"name": "Mitarbeiter/in"
		},
		"rights": {
			"id": 3,
			"name": "Benutzer mit zusätzlichen Berechtigungen"
		},
		"department_id": 1,
		"language": null,
		"personio_id": null,
		"cost_bearer": null,
		"tax_id": null,
		"created": "2024-02-14T07:41:06.000000Z",
		"modified": "2024-02-14T07:41:06.000000Z",
		"creditor_number": null,
		"categories": [],
		"dynamicAttributes": [
			{
				"name": "Notfallkontakt",
				"value": "Max Mustermann (Bruder)",
				"type": "Text",
				"description": {
					"de": "Name (Beziehung)"
				}
			},
			{
				"name": "Notfalltelefon",
				"value": "0171-1234567",
				"type": "Text",
				"description": {
					"de": "Notfallkontakt Telefon"
				}
			},
			{
				"name": "Notfallkommentar",
				"value": null,
				"type": "Text",
				"description": {
					"de": "Kommentar zum Notfallkontakt"
				}
			}
		],
		"absences_count": 1
	}
}