capabilities.work

Time Block Lifecycle

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

Recipe · 3 steps

Time Block Lifecycle

Create, fetch, and correct a worker's reported time block.

  1. Create a new reported time block for the worker.
  2. Fetch the created time block to confirm the persisted values before correcting it.
  3. Update the reported time block with corrected hours, preserving the original date and type.
What you'll need to have ready
  • workerId: The Workday ID of the worker.
  • bearerToken: OAuth 2.0 JWT bearer token for authenticating with Workday.
  • date: Date of the time block (YYYY-MM-DD).
  • startTime: Start time of the time block (HH:MM:SS).
  • endTime: End time of the time block (HH:MM:SS).
  • hours: Total hours worked for the initial time block.
  • type: Type of time block (Regular, Overtime, Holiday, Leave).
  • correctedHours: Corrected total hours for the update step.
  • comment: Optional comment.
For your developer

Arazzo workflow workday-tracking-system:time-block-lifecycle, 3 operations: createTimeBlock → getTimeBlock → updateTimeBlock. Specs on APIs.io.