Skip to content

API Reference parrot_tools.interfaces.workday.handlers.organizations

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

parrot_tools.interfaces.workday.handlers.organizations

View source

Alias Organization

Re-exported from parrot_tools.interfaces.workday.models.organizations.Organization.

Class OrganizationType

Handler for the Workday Get_Organizations operation.

Method OrganizationType.execute

Execute the Get_Organizations operation and return a pandas DataFrame.

Supported parameters:

  • organization_id: Specific organization ID to fetch (uses Request_References)
  • organization_id_type: Type of organization ID (WID, Organization_Reference_ID, Cost_Center_Reference_ID, etc.)
  • organization_type: Filter by organization type ID (Company, Cost_Center, Custom, Matrix, Pay_Group, Region, Retiree, Supervisory, etc.). Uses the underscore Organization_Type_ID form (e.g. "Cost_Center", not "Cost Center").
  • include_inactive: Include inactive organizations (True/False)
  • enable_transaction_log_lite: Enable transaction log lite (True/False)

execute(**kwargs) -> pd.DataFrame

Parameter Type Default Description
**kwargs {}

Returns: pd.DataFrame

Method OrganizationType.get_organization_by_id

Get a specific organization by ID.

:param organization_id: The organization ID to fetch :param id_type: Type of ID (WID, Organization_Reference_ID, Cost_Center_Reference_ID, etc.) :return: DataFrame with organization data

get_organization_by_id(organization_id: str, id_type: str = 'Organization_Reference_ID') -> pd.DataFrame

Parameter Type Default Description
organization_id str
id_type str 'Organization_Reference_ID'

Returns: pd.DataFrame

Method OrganizationType.get_organizations_by_type

Get organizations filtered by type.

:param organization_type: Organization type ID (Company, Cost_Center, Custom, Matrix, Pay_Group, Region, Retiree, Supervisory, etc.) — underscore Organization_Type_ID form :return: DataFrame with organizations data

get_organizations_by_type(organization_type: str) -> pd.DataFrame

Parameter Type Default Description
organization_type str

Returns: pd.DataFrame

Method OrganizationType.get_active_organizations

Get only active organizations.

:return: DataFrame with active organizations data

get_active_organizations() -> pd.DataFrame

Returns: pd.DataFrame

Method OrganizationType.get_all_organizations

Get all organizations (active and optionally inactive).

:param include_inactive: Whether to include inactive organizations :return: DataFrame with all organizations data

get_all_organizations(include_inactive: bool = True) -> pd.DataFrame

Parameter Type Default Description
include_inactive bool True

Returns: pd.DataFrame

Method OrganizationType.get_supervisory_organizations

Get only supervisory organizations.

:return: DataFrame with supervisory organizations data

get_supervisory_organizations() -> pd.DataFrame

Returns: pd.DataFrame

Method OrganizationType.get_cost_centers

Get only cost center organizations.

:return: DataFrame with cost center organizations data

get_cost_centers() -> pd.DataFrame

Returns: pd.DataFrame

Method OrganizationType.get_companies

Get only company organizations.

:return: DataFrame with company organizations data

get_companies() -> pd.DataFrame

Returns: pd.DataFrame

Method OrganizationType.get_organization_by_wid

Get a specific organization by WID.

:param wid: The organization WID to fetch :return: DataFrame with organization data

get_organization_by_wid(wid: str) -> pd.DataFrame

Parameter Type Default Description
wid str

Returns: pd.DataFrame

Method OrganizationType.get_organization_by_cost_center_id

Get a specific organization by Cost Center Reference ID.

:param cost_center_id: The organization Cost Center Reference ID to fetch :return: DataFrame with organization data

get_organization_by_cost_center_id(cost_center_id: str) -> pd.DataFrame

Parameter Type Default Description
cost_center_id str

Returns: pd.DataFrame

Alias WorkdayTypeBase

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

Alias parse_organization_data

Re-exported from parrot_tools.interfaces.workday.parsers.organization_parsers.parse_organization_data.

Alias safe_serialize

Re-exported from parrot_tools.interfaces.workday.utils.safe_serialize.

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