Actions83
- Absence Actions
- Attachment Actions
- Comment Actions
- Flavor Actions
- Folder Actions
- Permissions Actions
- Project Actions
- Reporting (Export) Actions
- Settings / Utilities Actions
- Status Report Actions
- Task Actions
- Time Record Actions
Settings / Utilities → Update Absence Types
AI-generatedSummary
Update an existing absence type by its ID, optionally using its external ID, modifying specified fields such as title, type, approval requirement, holiday overview inclusion, yearly budget, and recommended approvers.
Inputs
- Absence Type ID (required) — The unique identifier (GUID) of the absence type to update.
- Use External ID — Flag to indicate if the provided Absence Type ID refers to an external ID.
- Update Fields — Collection of fields to update. Possible fields include Title (string), Type (limited or unlimited), Is Approval Necessary (boolean), Include In Holidays Overview (boolean), Yearly Budget (number), and Recommended Approvers (string).
Output shape
The updated absence type object as returned by the smenso API.
The update is performed asynchronously with a PUT request to the endpoint
/api/integration/settings/absencetype/json. The response JSON contains the updated absence type details. Optional fields in Update Fields can be omitted if not being changed.
Examples
Example 1: Update absence type title and yearly budget by ID
Absence Type ID set to the target GUID, Use External ID set to false, Update Fields includes Title and Yearly Budget values
Example 2: Update absence type using external ID and change approval necessity
Absence Type ID set to external ID string, Use External ID set to true, Update Fields includes Is Approval Necessary field set to true