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 → Create Absence Types
AI-generatedSummary
Create an absence type in the Smenso workspace with a specified title, type limit, and optional fields such as approval requirement, inclusion in holidays overview, yearly budget, recommended approvers, and external ID.
Inputs
- Title (required) — The name of the absence type to create.
- Type (required) — Defines whether the absence type is limited with a yearly budget or unlimited (options: 'limited', 'unlimited').
- Additional Fields — Optional fields including: Is Approval Necessary (boolean), Include In Holidays Overview (boolean), Yearly Budget (days) (number), Recommended Approvers (emails as string), External ID (string).
Output shape
a single JSON object representing the created absence type wrapped in an array under the 'absenceType' key.
This operation performs an asynchronous HTTP POST to the Smenso API endpoint for creating absence types. The returned data includes the JSON response from the API containing details of the created absence type.
Examples
Example 1: Create an absence type titled 'Sick Leave' with a limited yearly budget of 10 days and approval necessary
Set Title to 'Sick Leave', Type to 'limited', Is Approval Necessary to true, and Yearly Budget to 10.