.. include:: /Includes.rst.txt .. _feature-1791174696: ====================================================== Feature: Switch the timer, and let it follow the clock ====================================================== Description =========== ``POST /api/v1/me/timer/switch`` books the running timer up to now and starts the next one on another project or task at the same instant, without a gap; nothing changes when the booking or the new target is refused. A timer started with ``endsWithClockOut`` follows the employee's punches: it books the time so far and pauses at the start of a break, runs on from the end of the break, and books and ends at the clock-out, always at the instant of the punch. Where the booking is refused, for example in a locked week, the timer keeps running and the employee receives ``timesheet.timerNotBooked``. Impact ====== Timers carry ``endsWithClockOut`` and ``pausedAt``. A timer started without the setting keeps running at the clock-out, as before. .. index:: API, Database, package:adsum-projects