capabilities.work

Submit Time Off

A 2-step recipe with Factorial. We can help you get access.

Recipe · 2 steps

Submit Time Off

Create a leave request and confirm its stored status.

  1. File the leave / time off request for the employee.
  2. Read the created leave back to confirm the persisted dates and status.
What you'll need to have ready
  • employee_id: The id of the employee taking time off.
  • leave_type_id: The id of the leave type (vacation, sick, etc.).
  • start_on: The first day of the leave (YYYY-MM-DD).
  • finish_on: The last day of the leave (YYYY-MM-DD).
  • half_day: Optional half-day marker.
  • description: An optional note describing the leave.
For your developer

Arazzo workflow factorial:submit-time-off, 2 operations: createLeave → getLeave. Specs on APIs.io.