DMLY icon

DMLY

Interact with the DMLY REST API

Time Off → Add

AI-generated

Summary

Create a time-off entry for a staff member over a specified UTC date-time window, with optional all-day and reason settings.

Inputs

  • Staff ID (required) — UUID of the staff member the time off belongs to.
  • Starts At (required) — Start of the time-off window in UTC.
  • Ends At (required) — End of the time-off window in UTC; must be on or after Starts At.
  • All Day — Whether the time off spans the whole day. Defaults to false.
  • Reason — Optional reason for the time off, such as a public holiday.

Output shape

A single record or response object from the time-off creation request.

The supplied source pack shows only the handler signature, so it does not establish the exact response fields or whether the API response is transformed.

Links

Discussion