Sign in

Update leave request

documented

Update a leave request.

PUT /Payroll/LeaveRequest/{id}Payrollno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl \"https://api.saasu.com/Payroll/LeaveRequest/{{$id}}\" \
  -X PUT \
  -H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
  -H \"Accept: application/json\" \
  -H \"Content-Type: application/json\" \
  -d '{\"LeaveTypePayItemId\": {{$leave_type_pay_item_id}}, \"EmployeeId\": {{$employee_id}}, \"StartDate\": \"{{$start_date}}\", \"EndDate\": \"{{$end_date}}\", \"TotalHours\": {{$total_hours}}, \"Status\": \"{{$status}}\", \"Notes\": \"{{$notes}}\", \"Items\": [ { \"LineNumber\": {{$item_line_number}}, \"Date\": \"{{$item_date}}\", \"Hours\": {{$item_hours}}, \"IsPaid\": {{$item_is_paid}}, \"ProcessedInPayRunId\": {{$item_processed_in_pay_run_id}} } ] }'"
Update leave request · Saasu · OpenIntegrations