Einzelne Projektzeit abrufen
Mit diesem Endpunkt können Sie eine einzelne Projektzeit abrufen.
Request
GET /api/v1/attendances/:id
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/attendances/1' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": {
"id": 1,
"date": "2024-07-20T00:00:00.000000Z",
"from": "11:30:00",
"to": "12:30:00",
"employee_id": "max.mustermann",
"duration": 1,
"note": "ZEP für internen Gebrauch einrichten",
"billable": true,
"work_location_id": null,
"activity_id": "im",
"start": null,
"destination": null,
"vehicle_id": null,
"private": null,
"passengers": null,
"km": null,
"direction_of_travel": {
"id": 1,
"name": "continue"
},
"project_id": 16,
"project_task_id": 7,
"invoice_item_id": null,
"ticket_id": null,
"subtask_id": null,
"work_location_is_project_relevant": true,
"department_id": 1,
"project_release": null,
"project_released_at": null,
"project_released_by": null,
"created": "2024-07-20T11:30:00.000000Z",
"modified": "2024-07-20T12:30:00.000000Z"
}
}