get_org_structure
Retrieve organizational hierarchy at specified levels (company, division, department, etc.) with optional employee headcount per unit.
Instructions
Get organizational structure at a specific level.
Queries Foundation Object entities (FOCompany, FODepartment, etc.) to show the organizational hierarchy. Can optionally include headcount per unit by cross-referencing with EmpJob.
Levels: company, division, department, business_unit, cost_center, location, job_code, pay_grade.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Organizational level to query: 'company', 'division', 'department', 'business_unit', 'cost_center', 'location', 'job_code', 'pay_grade' | |
| active_only | No | Only return active records | |
| data_center | No | ||
| parent_code | No | ||
| auth_user_id | No | ||
| auth_password | No | ||
| include_headcount | No | Include employee headcount per unit (requires additional API calls) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||