capabilities.work

Request And Resolve Time Off

A 4-step recipe with Remote. We can help you get access.

Recipe · 4 steps

Request And Resolve Time Off

with Remote · HR Operations Management

Create a time off request and approve or decline it.

  1. Create the time off request for the employment and date range.
  2. Read the request back and branch on the caller's decision.
  3. Approve the time off request.
  4. Decline the time off request with the supplied reason.
What you'll need to have ready
  • accessToken: Company-scoped bearer access token.
  • employmentId: The employment requesting time off.
  • leaveType: The leave type (e.g. paid_time_off, sick).
  • startDate: First day of leave (YYYY-MM-DD).
  • endDate: Last day of leave (YYYY-MM-DD).
  • note: Optional note for the request.
  • decision: Either approve or decline.
  • declineReason: Reason used when the decision is decline.
For your developer

Arazzo workflow remote-com:request-time-off, 4 operations: createTimeOffRequest → showTimeOffRequest → approveTimeOffRequest → declineTimeOffRequest. Specs on APIs.io.