Smenso icon

Smenso

Interact with the smenso project management API

Absence → Create

AI-generated

Summary

Create a new absence record for a user by specifying user ID or email, absence type (by ID or name), start and end dates, status, and optional additional fields.

Inputs

  • User ID or Email (required) — The user the absence should be assigned to, specified by ID or email.
  • Absence Type ID or Name (required) — The absence type to apply, specified by GUID or name (e.g., "Vacation").
  • Start Date (required) — The start date and time of the absence.
  • End Date (required) — The end date and time of the absence.
  • Status (required) — The status of the absence record, one of Submitted, Approved, or Rejected.
  • Additional Fields — Optional fields such as comment, locked flag, minutes on start/end days, external ID, and timezone ID.

Output shape

a single JSON object representing the created absence record or acknowledgement.

The operation sends a POST request to the Smenso API and returns the creation result. Additional optional fields can modify the absence details. No explicit ticket ID return is noted, implying immediate response with created data.

Links

Discussion