Absences
post /api/http/absences
Create an absence for a given profile ( member )
Required permissions: Update absences
|
get /api/http/absences
Search absences. Parameters are applied as ' AND ' filters.
Required permissions: View absences
|
post /api/http/absences/{id}/approve
Approve/unapprove an existing absence. Setting approve to true will approve the absence, false will remove the approval.
Required permissions: Approve absences
|
get /api/http/absences/member:{member}
Get absences for a given profile ID
Required permissions: View absences
|
get /api/http/absences/{id}
Get an absence
Required permissions: View absences
|
patch /api/http/absences/{id}
Update an existing absence. Optional parameters will be ignored when not specified and updated otherwise.
Required permissions: Update absences
|
delete /api/http/absences/{id}
Archive/restore an existing absence. Setting delete to true will archive the absence, false will restore it.
Required permissions: Update absences
, Manage historical absences
|
delete /api/http/absences/{id}/delete-approval
Delete approval for a given absence
Required permissions: Approve absences
|
post /api/http/absences/absence-reasons
Create a new absence reason
Required permissions: Manage absence types
|
get /api/http/absences/absence-reasons
Get available absence reasons
Required permissions: View absence types
|
get /api/http/absences/absence-reasons/{id}
Get an absence reason
Required permissions: View absence types
|
patch /api/http/absences/absence-reasons/{id}
Update an existing absence reason
Required permissions: Manage absence types
|
delete /api/http/absences/absence-reasons/{id}
Archive/restore an existing absence reason. Setting delete to true will archive the absence reason, false will restore it.
Required permissions: Manage absence types
|
Thanks for your feedback!