Skip to main content
PATCH
Update absence

Authorizations

x-API-Key
string
header
required

Path Parameters

id
string<objectid>
required

Absence ID to update

Body

application/json

Absence update data

dtStart
string<date-time> | null

Start date/time of the absence (UTC timestamp)

dtEnd
string<date-time> | null

End date/time of the absence (UTC timestamp)

daysAbsent
number<float> | null

Number of days absent

type
integer | null

Absence type

desc
string | null

Description or comment for the absence

payTypeAbsenceId
string<objectid> | null

Pay type absence ID

calculationType
string | null

Calculation type

imageIds
string[] | null

Image IDs associated with the absence

Response

Absence updated successfully

updated
boolean
Example:

true