# GetFirmAdvancedSearchesClaim - Advanced Documentation ## When to Use **This is the entry point for any bulk or aggregate claim query** - "all open claims", "claims by status", "firm-wide claim lists", "claims report", "how many claims", etc. It returns saved advanced searches that can be executed via `GetAdvancedSearchResults`. Do NOT use `SearchClaimsExtended` or other `SearchClaims*` endpoints for aggregate queries - those are limited to individual claim lookups (max 10 results). ## Overview Returns firm-level saved advanced searches filtered to claim-type searches only (`AdvancedSearchTypeIDName like 'Claim%'`). This matches every claim-rooted search type - `Claims`, `Claim Requests`, `Claim Notes`, `Claim Events`, `Claim Documents`, and the other `Claim ...` types. The type names what each row is meant to represent; the search's columns decide the actual row grain. ## Permissions Requires **ManageFirm** permission. Throws `RadoloException` if the caller does not have this permission. A caller without ManageFirm cannot list firm searches and cannot save firm searches; run the search ad hoc with `ExecuteAdvancedSearch` instead (it needs neither ManageFirm nor ManageAdvancedSearch). Saving any search needs ManageAdvancedSearch, and saving a firm search needs ManageFirm in addition. SearchFilter matches by substring (contains) on the search name, not by prefix. An empty string is accepted. A search created with `CreateAdvancedSearchCopy` appears here only if `IsFirmAdvancedSearch` is true and `Type` is Claim; set both on the copy. ## Implementation Details - Delegates to `GetFirmAdvancedSearches` with `QueryRoot.Claim`, which appends `AdvancedSearchTypeIDName like 'Claim%'` to the query - Used by FlightPath connection dialogs for claim surveys and correspondence