get_organization_tree
Retrieve the organization hierarchy for a specific date, with optional root department and inclusion of ineffective departments.
Instructions
Get the organization hierarchy as of a specific date.
KNOWN ISSUE: The /ClientOut/ReportCenter/OrgData route returns 404 on
the PRE Foundation backend. The tool is kept for when MAYO deploys
the Report Center endpoints to this environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dept_code | No | Root department code to query from | |
| query_date | Yes | Snapshot date in `YYYY-MM-DD` format | |
| include_ineffective | No | Include departments that are not effective on the snapshot date |