Change history of an entry
GET /api/hr/v1/time-entries/{id}/history
Module: HR · operationId: listTimeEntryHistory · Tag: Working time · Auth: access token (Authorization: Bearer <accessToken>)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string (uuid) | yes |
Responses
- 200 Changes, oldest first (
application/json)
Fields of the 200 answer:
items(array of TimeEntryChange, required): Change records, oldest firstaction(string): What was done (create, update, delete, the stamps, auto-out)actor(string): Who did it (e-mail, or system; the platform team acting in the tenant: „Plattformbetrieb (MBCOM) · “)after(TimeEntry)autoEnded(boolean): HR ended the segment at midnight because nobody clocked out (settingautoEndAtMidnight). It counts no working time until it is corrected; any change clears the mark.breakMinutes(integer): Break inside the segment in minutes (manual entries)createdAt(string (date-time)): When the time entry was createdcreatedBy(string): Who created the time entry (e-mail of the caller)employeeId(string): Id of the employeeend(string (date-time)): Missing while runningendedForBreak(boolean): The segment was closed by starting a breakid(string): Id of the time entrynote(string): Note on the entrysource(string): clock: stamped, manual: entered by hand (one ofclock,manual)start(string (date-time)): Start of the segmentupdatedAt(string (date-time)): When the time entry was last changedupdatedBy(string): Who last changed the time entry (e-mail of the caller)version(integer): Version for optimistic locking: send the version you read with a change (stale: 409 version_conflict)
at(string (date-time)): When it happenedbefore(TimeEntry)autoEnded(boolean): HR ended the segment at midnight because nobody clocked out (settingautoEndAtMidnight). It counts no working time until it is corrected; any change clears the mark.breakMinutes(integer): Break inside the segment in minutes (manual entries)createdAt(string (date-time)): When the time entry was createdcreatedBy(string): Who created the time entry (e-mail of the caller)employeeId(string): Id of the employeeend(string (date-time)): Missing while runningendedForBreak(boolean): The segment was closed by starting a breakid(string): Id of the time entrynote(string): Note on the entrysource(string): clock: stamped, manual: entered by hand (one ofclock,manual)start(string (date-time)): Start of the segmentupdatedAt(string (date-time)): When the time entry was last changedupdatedBy(string): Who last changed the time entry (e-mail of the caller)version(integer): Version for optimistic locking: send the version you read with a change (stale: 409 version_conflict)
entryId(string): Id of the time entryid(string): Id of the change recordreason(string): Reason given for the change
Example 200 answer:
{
"items": [
{
"action": "stamp-in",
"actor": "sophie.huber@muster-it.example",
"after": {
"breakMinutes": 0,
"employeeId": "e5a1c3d7-2b4f-4c6e-8a0b-1d3f5b7c9e02",
"id": "3a5c7e9a-1c3e-4a5c-9e7a-1c3e5a7c9e36",
"source": "clock",
"start": "2026-11-18T06:28:00Z",
"version": 1
},
"at": "2026-11-18T06:28:00Z",
"entryId": "3a5c7e9a-1c3e-4a5c-9e7a-1c3e5a7c9e36",
"id": "7e9a1c3e-5a7c-4e9a-8c1e-5a7c9e1a3c38"
},
{
"action": "update",
"actor": "sophie.huber@muster-it.example",
"after": {
"breakMinutes": 30,
"employeeId": "e5a1c3d7-2b4f-4c6e-8a0b-1d3f5b7c9e02",
"end": "2026-11-18T15:00:00Z",
"id": "3a5c7e9a-1c3e-4a5c-9e7a-1c3e5a7c9e36",
"source": "clock",
"start": "2026-11-18T06:28:00Z",
"version": 3
},
"at": "2026-11-18T15:04:00Z",
"before": {
"breakMinutes": 0,
"employeeId": "e5a1c3d7-2b4f-4c6e-8a0b-1d3f5b7c9e02",
"end": "2026-11-18T15:00:00Z",
"id": "3a5c7e9a-1c3e-4a5c-9e7a-1c3e5a7c9e36",
"source": "clock",
"start": "2026-11-18T06:28:00Z",
"version": 2
},
"entryId": "3a5c7e9a-1c3e-4a5c-9e7a-1c3e5a7c9e36",
"id": "9a1c3e5a-7c9e-4a1c-9e3a-7c9e1a3c5e39",
"reason": "Mittagspause nachgetragen"
}
]
}
Example request
curl -X GET 'https://api.mbcom.cloud/api/hr/v1/time-entries/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/history' \
-H "Authorization: Bearer $ACCESS_TOKEN"