GetEventOccurrences
Retrieve event occurrences associated with CRM objects.
Input
| Name | Type | Description |
| ObjectType | String | The type of the CRM object to retrieve events for (e.g., 'contact', 'company'). |
| ObjectId | String | The ID of the CRM object to retrieve events for. Must be combined with ObjectType. |
| EventType | String | The type of event to filter by (e.g., 'e_visited_page', 'e_form_view'). |
| EventProperty | String | An event property to filter events, specified as 'propertyName=propertyValue' (e.g., 'hs_list_id=4709'). EventType must be specified to filter with event property. |
| OccurredAfter | Datetime | The start of the time range as an ISO 8601 timestamp. Only events that occurred after this time are returned. |
| OccurredBefore | Datetime | The end of the time range as an ISO 8601 timestamp. Only events that occurred before this time are returned. |
Result Set Columns
| Name | Type | Description |
| Id | String | Unique identifier of the event occurrence. |
| EventType | String | The type of the event that occurred. |
| OccurredAt | Datetime | The timestamp indicating when the event occurred. |
| Properties | String | Additional event-specific properties returned as a JSON string. |