Legal Forms
Legal forms classify the legal structure of organisations (e.g., BV, NV, GmbH, Ltd, Inc).
Use the Datastore_LegalForm endpoint to query legal forms.
Endpoints
List Legal Forms
GET
/v1/odata/Datastore_LegalFormSingle Legal Form
GET
/v1/odata/Datastore_LegalForm({id})Fields
Datastore Fields (inherited)
| Field | Type | Description |
|---|---|---|
Name | String | Display name |
Code | String | Unique code identifier |
LocalizedName | String | Localized display name |
IsDefault | Boolean | Whether this is the default value |
Relationships
| Relationship | Target Entity | Cardinality | Description |
|---|---|---|---|
| Organization | Relation_Organization | 1:N | Organization |
Expanding Relationships
GET
/v1/odata/Datastore_LegalForm({id})?$expand=OrganizationNavigating Relationships
GET
/v1/odata/Datastore_LegalForm({id})/OrganizationFiltering Examples
GET
/v1/odata/Datastore_LegalForm?$filter=Name eq '{Name}'&$top={top}GET
/v1/odata/Datastore_LegalForm?$filter=contains(Name, '{Name}')&$top={top}GET
/v1/odata/Datastore_LegalForm?$filter=Code eq '{Code}'&$top={top}GET
/v1/odata/Datastore_LegalForm?$filter=IsDefault eq {IsDefault}&$top={top}Custom Query
Build your own OData query against Datastore_LegalForm. Open Run and edit the whole request inline — swap the entity set, change the $filter, or add $expand, $select, $orderby, $top, $skip. Type $ for suggestions; use ↺ Reset to restore this example.
GET
/v1/odata/Datastore_LegalForm?$top=10