Constructors

Methods

  • Retrieve instances of event completion data. For example, retrieve all event completions associated with a specific contact. Retrieve event data

    Parameters

    • OptionalobjectType: string

      The type of CRM object to filter event instances on (e.g., `contact`). To retrieve event data for a specific CRM record, include the additional `objectId` query parameter (below).

    • OptionaleventType: string

      The event type name. You can retrieve available event types using the event types endpoint.

    • Optionalafter: string

      The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

    • Optionalbefore: string
    • Optionallimit: number

      The maximum number of results to display per page.

    • Optionalsort: string[]

      Sort direction based on the timestamp of the event instance, `ASCENDING` or `DESCENDING`.

    • OptionaloccurredAfter: Date

      Filter for event data that occurred after a specific datetime.

    • OptionaloccurredBefore: Date

      Filter for event data that occurred before a specific datetime.

    • OptionalobjectId: number

      The ID of the CRM Object to filter event instances on. When including this parameter, you must also include the `objectType` parameter.

    • OptionalobjectPropertyPropname: any

      Instead of retrieving event data for a specific object by its ID, you can specify a unique identifier property. For contacts, you can use the `email` property. (e.g., `objectProperty.email=name@domain.com`).

    • OptionalpropertyPropname: any

      Filter for event completions that contain a specific value for an event property (e.g., `property.hs_city=portland`). For properties values with spaces, replaces spaces with `%20` or `+` (e.g., `property.hs_city=new+york`).

    • Optionalid: string[]

      ID of an event instance. IDs are 1:1 with event instances. If you provide this filter and additional filters, the other filters must match the values on the event instance to yield results.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<CollectionResponseExternalUnifiedEvent>

  • Retrieve instances of event completion data. For example, retrieve all event completions associated with a specific contact. Retrieve event data

    Parameters

    • OptionalobjectType: string

      The type of CRM object to filter event instances on (e.g., `contact`). To retrieve event data for a specific CRM record, include the additional `objectId` query parameter (below).

    • OptionaleventType: string

      The event type name. You can retrieve available event types using the event types endpoint.

    • Optionalafter: string

      The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.

    • Optionalbefore: string
    • Optionallimit: number

      The maximum number of results to display per page.

    • Optionalsort: string[]

      Sort direction based on the timestamp of the event instance, `ASCENDING` or `DESCENDING`.

    • OptionaloccurredAfter: Date

      Filter for event data that occurred after a specific datetime.

    • OptionaloccurredBefore: Date

      Filter for event data that occurred before a specific datetime.

    • OptionalobjectId: number

      The ID of the CRM Object to filter event instances on. When including this parameter, you must also include the `objectType` parameter.

    • OptionalobjectPropertyPropname: any

      Instead of retrieving event data for a specific object by its ID, you can specify a unique identifier property. For contacts, you can use the `email` property. (e.g., `objectProperty.email=name@domain.com`).

    • OptionalpropertyPropname: any

      Filter for event completions that contain a specific value for an event property (e.g., `property.hs_city=portland`). For properties values with spaces, replaces spaces with `%20` or `+` (e.g., `property.hs_city=new+york`).

    • Optionalid: string[]

      ID of an event instance. IDs are 1:1 with event instances. If you provide this filter and additional filters, the other filters must match the values on the event instance to yield results.

    • Optional_options: PromiseConfigurationOptions

    Returns Promise<HttpInfo<CollectionResponseExternalUnifiedEvent>>