Chparl Get Business
chparl_get_businessRead a Swiss parliamentary business by canonical eight-digit businessId or exact published short number. Choose overview for metadata and available text sizes; texts for original published text, automatically outlined when several fields exceed the disclosure budget; or status_history, bills, related_business, preconsultations, or subjects for independently paged relationships. textFields selects complete original fields only in texts, even when large. Paging applies only to relationships. Use subjects to narrow chparl_search_transcripts; source text and HTML remain unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Relationships only: requested page size, default 20, clamped to 100. | |
| offset | No | Relationships only: source row offset, default zero; continue with returned nextOffset. | |
| section | No | Readable section, default overview. | overview |
| language | No | Metadata and business-text variant: de (default), fr, or it. | de |
| businessId | Yes | Canonical eight-digit businessId from chparl_search_business, or an exact published short number such as 99.1234. | |
| textFields | No | Texts only: named original fields; empty array means unset. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bills | No | Linked bill page; no enacted-law content is inferred. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether the requested business metadata row exists. | |
| notice | No | Combined clamping, byte-fitting, empty-section, or past-end guidance. | |
| hasMore | No | Whether selected relationship rows remain; absent for non-collection results. | |
| section | No | Selected section. | |
| business | No | Business summary on every found result, with extra metadata on overview. | |
| guidance | No | Discovery guidance when the business is missing. | |
| subjects | No | Debate subjects usable in chparl_search_transcripts. | |
| nextOffset | No | Original offset plus delivered rows when more remain. | |
| provenance | No | Attribution, publication status, and source download dates. | |
| totalCount | No | Whole selected relationship count when supplied by the source. | |
| textDocument | No | Original selected texts or automatic field outline. | |
| returnedCount | No | Complete relationship rows delivered; absent for overview, texts, or missing business. | |
| statusHistory | No | Published status history page. | |
| effectiveLimit | No | Effective relationship limit after clamping. | |
| relatedBusiness | No | Related business page. | |
| effectiveFilters | No | Effective business identifier, section, selectors, and paging defaults. | |
| preconsultations | No | Published committee preconsultation page. |