Skip to content

API Reference parrot_tools.interfaces.workday.handlers.time_off_balances

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.interfaces.workday.handlers.time_off_balances

View source

Alias TimeOffBalance

Re-exported from parrot_tools.interfaces.workday.models.time_off_balance.TimeOffBalance.

Class TimeOffBalanceType

Handles Get_Time_Off_Plan_Balances operation for Workday Absence Management API.

Method TimeOffBalanceType.execute

Execute the Get_Time_Off_Plan_Balances operation.

Supported parameters:

  • worker_id: Specific worker ID to fetch balances for (uses Employee_Reference)
  • time_off_plan_id: Specific time off plan ID (uses Time_Off_Plan_Reference)
  • organization_id: Organization ID to filter by (uses Organization_Reference)

Note: This operation returns CURRENT balances only. There is no as_of_date parameter.

execute(**kwargs) -> pd.DataFrame

Parameter Type Default Description
**kwargs {}

Returns: pd.DataFrame

Method TimeOffBalanceType.get_balances_by_worker

Convenience method to get current time off balances for a specific worker.

get_balances_by_worker(worker_id: str) -> pd.DataFrame

Parameter Type Default Description
worker_id str

Returns: pd.DataFrame

Method TimeOffBalanceType.get_balances_by_plan

Convenience method to get current balances for a specific time off plan.

get_balances_by_plan(time_off_plan_id: str) -> pd.DataFrame

Parameter Type Default Description
time_off_plan_id str

Returns: pd.DataFrame

Method TimeOffBalanceType.get_balances_by_organization

Convenience method to get current balances for a specific organization.

get_balances_by_organization(organization_id: str) -> pd.DataFrame

Parameter Type Default Description
organization_id str

Returns: pd.DataFrame

Alias WorkdayTypeBase

Re-exported from parrot_tools.interfaces.workday.handlers.base.WorkdayTypeBase.

Alias parse_time_off_balance_data

Re-exported from parrot_tools.interfaces.workday.parsers.time_off_balance_parsers.parse_time_off_balance_data.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally