Create a presence or absence request

Required scope: absences:write

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
uuid
required

UUID of the employee requesting the presence/absence

string
required

Codename of the company absence request kind

date
required

First day of the requested leave (YYYY-MM-DD), inclusive

date
required

Last day of the requested leave (YYYY-MM-DD), inclusive

string | null

Required only for hourly requests

string | null

Required only for hourly requests

string
string
string
enum
  • PUC - PUC - Numero di protocollo
  • PAPER_CERTIFICATE - Certificato cartaceo
Allowed:
string
string
enum

Required for DISABILITY_SELF: MONTHLY or DAILY.

  • MONTHLY - MONTHLY
  • DAILY - DAILY
Allowed:
string
uuid | null

UUID of a file uploaded with this API token. Required when the absence policy requires an attachment (by default for PARENTAL_LEAVE). Parental leave data and dates must be supplied in the request; they are not extracted from the file

uuid | null
boolean
required

Whether to send notifications for the created request

parental_leave_data
object | null

Required and non-null when codename is PARENTAL_LEAVE; all nested fields are required. Omit for other codenames

string

Child fiscal code. Required if codename is FEEDING, SICKNESS_CHILD_CHILD, or SICKNESS_CHILD_INFANT. Optional if codename is PARENTAL_PATERNAL_MANDATORY_LEAVE

date | null

Child birth date. Required if codename is PARENTAL_PATERNAL_MANDATORY_LEAVE

string

Name of the trip policy to use. Required if codename is TRIP_REGION, TRIP_ITALY, TRIP_UE, TRIP_EXTRA_UE, or TRIP_CUSTOM

boolean
Defaults to false

Indicates if meals are reimbursed. Optional if codename is TRIP_REGION, TRIP_ITALY, TRIP_UE, TRIP_EXTRA_UE, or TRIP_CUSTOM

boolean
Defaults to false

Indicates if accommodation is reimbursed. Optional if codename is TRIP_REGION, TRIP_ITALY, TRIP_UE, TRIP_EXTRA_UE, or TRIP_CUSTOM

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json