Time clock

Approve or reject an absence request

Decide a request waiting for the person as Responsabile, delegate or HR — a new absence, or a request to cancel an approved one. Rejecting needs a note the employee reads. Nobody decides their own request.

post/api/v1/rest/timbratura/leave/{id}/decision

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/timbratura/leave/{id}/decision
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The request.

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

approveboolean required

true approves, false rejects.

notestring nullable

Required to reject: the employee reads it.

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.