Event Types
Event types categorize calendar events (e.g., conference, webinar, trade show).
Use the Datastore_EventType endpoint to query event types.
Endpoints
List Event Types
GET
/v1/odata/Datastore_EventTypeSingle Event Type
GET
/v1/odata/Datastore_EventType({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 |
|---|---|---|---|
| Event | Activity_Event | 1:N | Event |
Expanding Relationships
GET
/v1/odata/Datastore_EventType({id})?$expand=EventNavigating Relationships
GET
/v1/odata/Datastore_EventType({id})/EventFiltering Examples
GET
/v1/odata/Datastore_EventType?$filter=Name eq '{Name}'&$top={top}GET
/v1/odata/Datastore_EventType?$filter=contains(Name, '{Name}')&$top={top}GET
/v1/odata/Datastore_EventType?$filter=Code eq '{Code}'&$top={top}GET
/v1/odata/Datastore_EventType?$filter=IsDefault eq {IsDefault}&$top={top}Custom Query
Build your own OData query against Datastore_EventType. 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_EventType?$top=10