Time clock

Create a company closure

A «Chiusura aziendale»: one approved absence for everybody it names (all, some sedi or some employees) between two dates, drawn from ferie or not. Days somebody already has off are skipped.

post/api/v1/rest/timbratura/closures

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/timbratura/closures
  • 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

titlestring required
fromstring date required
tostring date required
deductFerieboolean required
audience'all' | 'sites' | 'employees' required
targetsstring[]
notestring nullable

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.