StopTimerRequestDto
Backend-источник: feature.managertimetrackerservice/Feature.ManagerTimeTrackerService/Nuget.ManagerTimeTrackerApiClient/Dto/WorkTimeEntry/Requests/StopTimerRequestDto.cs (feature.managertimetrackerservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
breakMinutes | number | null | нет | Break minutes to record on the entry. null/omitted is treated as 0. | int? |
note | string | null | нет | Optional override for the running entry's stored Note. When provided, used as the Note on the resulting WorkTimeEntry instead of whatever was passed to Start. Useful for unblocking validation failures that need a Note (e.g. an approved-absence-day override) without restarting the timer. | string? |
backlogReason | string | null | нет | Объяснение пропуска прошлых рабочих дней. Для StopTimer практически не нужен (таймер всегда финализирует запись на сегодняшнюю дату — cross-midnight отбрасывается отдельно), но оставлен для симметрии с Create/Update. Сохраняется в финальной записи (WorkTimeEntryDto.backlogReason). | — |
Пример
json
{
"breakMinutes": 0,
"note": "string",
"backlogReason": "string"
}