Skip to content

API Reference parrot_tools.interfaces.workday.handlers.locations

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

parrot_tools.interfaces.workday.handlers.locations

View source

Alias Location

Re-exported from parrot_tools.interfaces.workday.models.Location.

Class LocationType

Handler for the Workday Get_Locations operation.

Method LocationType.execute

Execute the Get_Locations operation and return a pandas DataFrame.

Supported parameters:

  • location_id: Specific location ID to fetch (uses Request_References)
  • location_name: Filter by location name (uses Request_Criteria)
  • location_type: Filter by location type
  • location_usage: Filter by location usage
  • inactive: Filter by inactive status (True/False)

execute(**kwargs) -> pd.DataFrame

Parameter Type Default Description
**kwargs {}

Returns: pd.DataFrame

Method LocationType.get_location_by_id

Convenience method to get a specific location by ID.

get_location_by_id(location_id: str) -> pd.DataFrame

Parameter Type Default Description
location_id str

Returns: pd.DataFrame

Method LocationType.get_location_by_name

Convenience method to get a specific location by name.

get_location_by_name(location_name: str) -> pd.DataFrame

Parameter Type Default Description
location_name str

Returns: pd.DataFrame

Method LocationType.get_locations_by_type

Convenience method to get locations by type.

get_locations_by_type(location_type: str) -> pd.DataFrame

Parameter Type Default Description
location_type str

Returns: pd.DataFrame

Method LocationType.get_active_locations

Convenience method to get all active locations.

get_active_locations() -> pd.DataFrame

Returns: pd.DataFrame

Alias WorkdayTypeBase

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

Alias parse_location_data

Re-exported from parrot_tools.interfaces.workday.parsers.parse_location_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