---
title: "Normalize (correct) the clocking of an existing event. The id can be an UID or an externalId"
method: PATCH
path: "/v1/public/events/{eventId}/clocking"
tags: ["Public", "Events"]
---

# Normalize (correct) the clocking of an existing event. The id can be an UID or an externalId

`PATCH /v1/public/events/{eventId}/clocking`

## Request

- Base URL: `https://api.evolia.com`
- URL: `https://api.evolia.com/v1/public/events/{eventId}/clocking`
- Auth: HTTP basic

## Path parameters

- `eventId` string, required

## Request body

- UpdatePublicEventClockingRequest
  - `dryRun` boolean: When true, simulates the update without saving the clocking data. Useful to see the effect of the update on paidDurationInM and paidAmount.
  - `startsAt` string: the start date and time of the clocking. In ISO-8601 format.
  - `endsAt` string: the end date and time of the clocking. In ISO-8601 format.
  - `breakPeriodInM` number: the unpaid break duration in minutes
  - `paidBreaksInM` number: the paid breaks duration in minutes
  - `extraPaidTimeInM` number: extra paid time in minutes to add to the clocking
  - `note` string, nullable: Optional note attached to the clocking. Set to null to remove existing note, or omit to leave unchanged.
  - `saveNoteToEmployeeProfile` boolean: if true, the note is added to the employee profile

## Response `200`

- PublicEventClocking
  - `in` PublicEventClockingEntry, required
    - `at` string: Adjusted time from company rules. This value is use to calculate the total worked hours.
    - `originalAt` string: The actual time when employee clocked.
  - `out` PublicEventClockingEntry, required
    - `at` string: Adjusted time from company rules. This value is use to calculate the total worked hours.
    - `originalAt` string: The actual time when employee clocked.
  - `clockedBreaks` string[], required: Clocked breaks information
  - `paidDurationInM` number, required: Paid duration in minutes
  - `updatedByMemberId` string: Uid of the employee who update clocking
  - `updatedByMemberCode` string: Code of the employee who update clocking
  - `updatedAt` string: Clocking update date and time. In ISO-8601 format.
  - `validatedBy` 'MEMBER' | 'SMART_PUNCH': The clocking can be validated by the smart punch or by an manager
  - `validatedByMemberId` string: Uid of the employee who validated clocking
  - `validatedByMemberCode` string: Code of the employee who validated clocking
  - `validatedAt` string: clocking validate date and time. In ISO-8601 format.
  - `note` string: clocking note.
  - `paidBreaks` string[]: This optional property contains an array of planned paid breaks. If null or undefined, the shift has no planned paid breaks.
  - `unpaidBreak` PublicBreak
    - `paid` boolean, required: if true the break is a paid break otherwise an unpaid break
    - `durationInM` number, required: the break duration in minutes
    - `startInM` number: an optional value in minutes from the beginning of the shift indicating when the break should start
  - `paidAmount` number: The amount paid calculated from the employee's hourly wage multiplied by hours worked minus the sum of all unpaid break time plus extra paid time (if specified).
  - `locked` boolean: True if the Timesheet have been locked
  - `lockedByMemberId` string: Uid of the employee who locked clocking
  - `lockedByMemberCode` string: Code of the employee who locked clocking
  - `lockedAt` string: Clocking update date and time. In ISO-8601 format.

## Changes

- **2026-11-16** `227609ffbd4f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/evolia/apis/public-evolia/changes/v1/public/events/:eventId/clocking/patch.md)

---

[API](https://skmtc.dev/evolia/apis/public-evolia.md) - [All operations](https://skmtc.dev/evolia/apis/public-evolia/llms.txt) - [OpenAPI document](https://skmtc.dev/evolia/apis/public-evolia/revisions/227609ffbd4f?raw)
