Skip to main content

Legal Forms

EntityDatastoreDatastore.LegalForm

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

GET/v1/odata/Datastore_LegalForm
GET/v1/odata/Datastore_LegalForm({id})

Fields

Datastore Fields (inherited)

FieldTypeDescription
NameStringDisplay name
CodeStringUnique code identifier
LocalizedNameStringLocalized display name
IsDefaultBooleanWhether this is the default value

Relationships

RelationshipTarget EntityCardinalityDescription
OrganizationRelation_Organization1:NOrganization

Expanding Relationships

GET/v1/odata/Datastore_LegalForm({id})?$expand=Organization
GET/v1/odata/Datastore_LegalForm({id})/Organization

Filtering 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