Time clock

Justify an anomaly

HR marking one anomaly of one employee-day as justified, with the note that explains it; it stops counting on the month check and reads «giustificata» on the cartellino.

post/api/v1/rest/timbratura/anomalies/justify

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/timbratura/anomalies/justify
  • Auth: HTTP bearer

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Request body

partyIdstring uuid required
daystring date required
kind'missing_clock_in' | 'missing_clock_out' | 'late_clock_in' | 'early_clock_out' | 'short_hours' | 'worked_on_rest_day' | 'worked_on_holiday' | 'break_too_short' | 'break_too_long' | 'lunch_too_short' | 'lunch_too_long' | 'lunch_outside_window' | 'clock_out_outside_area' | 'deferred_punch' | 'mock_location' required
notestring required

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.