Get Entity By Id
get_entity_by_idFetch a single Folketinget entity record by its numeric id, e.g. Sag(1). Returns the record object directly (not wrapped in value). Use $expand to inline related entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the record. | |
| entity | Yes | Danish entity name: Sag (cases/bills), Aktør (politicians/committees/parties), Afstemning (votes), Stemme (individual votes), Møde (meetings), Dokument, Sagstrin. | |
| expand | No | OData $expand — related entities to inline, e.g. "Sagstrin" or "Stemme". | |
| select | No | OData $select — comma-separated fields. |