Time Blocks¶
flowtask.components.Workday.types.time_blocks
¶
TimeBlockType
¶
Bases: WorkdayTypeBase
Handler for the Workday Get_Calculated_Time_Blocks operation.
execute
async
¶
Execute the Get_Calculated_Time_Blocks operation and return a pandas DataFrame.
Supported parameters: - worker_id: Specific worker ID to fetch time blocks for - start_date: Start date for date range filter (YYYY-MM-DD) - end_date: End date for date range filter (YYYY-MM-DD) - time_block_id: Specific time block ID to fetch - status: Filter by status - supervisory_org: Filter by supervisory organization - include_deleted: Whether to include deleted time blocks (default: False)
get_time_blocks_by_date_range
async
¶
Convenience method to get time blocks for a date range.
get_time_blocks_by_worker
async
¶
Convenience method to get time blocks for a specific worker.