Smenso icon

Smenso

Interact with the smenso project management API

Absence → Update

AI-generated

Summary

Update an existing absence record in the Smenso workspace by specifying its ID or external ID and providing new values for selected absence fields.

Inputs

  • Absence ID (required) — GUID or externalId of the absence to update.
  • Use External ID — Boolean flag to indicate if the Absence ID is an external ID (default is false).
  • Update Fields — Collection of fields to update on the absence, such as userId, absenceTypeId, startDate, endDate, status (submitted, approved, rejected), comment, locked (boolean), startDateMinutes, endDateMinutes, and timezoneId (default 'W. Europe Standard Time').

Output shape

a single JSON object representing the updated absence record or API response.

The operation sends a PUT request with the specified update fields and returns the API response. Timezone ID defaults to 'W. Europe Standard Time' if not provided.

Links

Discussion