Skip to main content

Event Locations

EntityDatastoreDatastore.EventLocation

Event locations define venues where events take place. They can be linked to an address.

Use the Datastore_EventLocation endpoint to query event locations.

Endpoints

List Event Locations

GET/v1/odata/Datastore_EventLocation

Single Event Location

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

Fields

Datastore Fields (inherited)

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

Relationships

RelationshipTarget EntityCardinalityDescription
EventActivity_Event1:NEvent
AddressAddressN:1Address

Expanding Relationships

GET/v1/odata/Datastore_EventLocation({id})?$expand=Event
GET/v1/odata/Datastore_EventLocation({id})/Event

Filtering Examples

GET/v1/odata/Datastore_EventLocation?$filter=Name eq '{Name}'&$top={top}
GET/v1/odata/Datastore_EventLocation?$filter=contains(Name, '{Name}')&$top={top}
GET/v1/odata/Datastore_EventLocation?$filter=Code eq '{Code}'&$top={top}
GET/v1/odata/Datastore_EventLocation?$filter=IsDefault eq {IsDefault}&$top={top}

Custom Query

Build your own OData query against Datastore_EventLocation. 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_EventLocation?$top=10