Get Lease Violations
get_lease_violationsLease / community-rule violations — open compliance items by property.
Runs TenantViolationsListing (report 637): each violation's tenant, unit,
date, code (Yard Appearance, Vehicle Violation, ...), status (Open/Closed),
stage (Warning / Fine / Stage N), and description. Use for "what violations
are open at ", "compliance issues", "who has an open violation".
open_only (default True) hides closed items; scope via portfolio/
property_ids.
``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| location | No | ||
| open_only | No | ||
| portfolio | No | ||
| property_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |