Get projects of an employee
Use this endpoint to retrieve all projects assigned to an employee.
Request
GET /api/v1/employees/:username/projects
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/employees/alexandrea.stroman/projects' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Filter Parameters
You can filter the results using the following parameters:
project_status
(string|array): Filter by project status (e.g., "aktiv", "gesperrt", "abgeschlossen")project_start_date
(date, format: Y-m-d): Filter by projects starting on or after this dateproject_end_date
(date, format: Y-m-d): Filter by projects ending on or before this date (must be >= project_start_date)
Example with filters
GET /api/v1/employees/alexandrea.stroman/projects?project_status=aktiv&project_start_date=2025-01-01&project_end_date=2025-12-31
Response
{
"data": [
{
"id": 42,
"employee_id": "alexandrea.stroman",
"project_id": 2,
"from": null,
"to": null,
"note": null,
"availability": 100,
"internal_rate": null,
"rate_type": {
"id": 0,
"name": "keines"
},
"type": {
"id": "1",
"name": "Project manager with budget responsibility"
},
"priceGroup": {
"id": 3,
"name": "01",
"number": null,
"status": true,
"description": {
"de": "Senior",
"en": "Senior"
}
}
}
]
}