capabilities.work

Update Scheduling Preferences and Shift

A 3-step recipe with Workday Tracking System. We can help you get access.

Recipe · 3 steps

Update Scheduling Preferences and Shift

Update a worker's preferences, confirm them, and schedule an aligned shift.

  1. Read the worker's current scheduling preferences to capture the pre-change state.
  2. Update the worker's scheduling preferences with the new preferred times and weekly hour bounds.
  3. Schedule a shift for the worker using the updated preferred start and end times so the shift aligns with their stated availability.
What you'll need to have ready
  • bearerToken: OAuth 2.0 JWT bearer token for authenticating with Workday.
  • workerId: The Workday ID of the worker.
  • preferredStartTime: New preferred shift start time (HH:MM:SS).
  • preferredEndTime: New preferred shift end time (HH:MM:SS).
  • maxHoursPerWeek: Optional maximum hours per week.
  • minHoursPerWeek: Optional minimum hours per week.
  • shiftDate: Date of the shift to schedule (YYYY-MM-DD).
For your developer

Arazzo workflow workday-tracking-system:update-scheduling-preferences-and-shift, 3 operations: getWorkerSchedulingPreferences → updateWorkerSchedulingPreferences → createScheduleShift. Specs on APIs.io.