INPUT_OBJECT

ActivityKPIFilterInput

Filter conditions for ActivityKPI records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

link GraphQL Schema definition

  • input ActivityKPIFilterInput {
  • # Matches records that meet at least one of the listed filters.
  • OR: [ActivityKPIFilterInput!]
  • # Matches records that meet all of the listed filters.
  • AND: [ActivityKPIFilterInput!]
  • # Matches records that do not meet this filter.
  • NOT: ActivityKPIFilterInput
  • # Search term matched against the fields that the global search covers for this
  • # entity.
  • globalSearchQuery: String
  • # Unique identifier of entity.
  • id: EntityFilterStringField
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: EntityFilterDateTimeField
  • # Creation time.
  • created: EntityFilterDateTimeField
  • # Id of the appointment or task the KPI event relates to.
  • activityId: EntityFilterStringField
  • # Application context in which the KPI event was triggered (e.g. browser,
  • # automation, third-party integration).
  • applicationId: EntityFilterStringField
  • # Id of the user who triggered the event.
  • clientId: EntityFilterStringField
  • # KPI metric this event represents: ActivityCreate, ActivityCompleted or
  • # LastModified.
  • kpi: ActivityKpiEnumFilterInput
  • # Id of the activity owner at the time of the event.
  • ownerId: EntityFilterStringField
  • # Id of the sales unit.
  • unitId: EntityFilterStringField
  • # Revision when entity was lastly changed.
  • revision: EntityFilterNumberField
  • # Appointment this KPI event relates to. Set when activityId resolves to an
  • # Appointment; otherwise empty. Matches records where a related record meets these
  • # conditions.
  • appointment: AppointmentFilterInput
  • # Task this KPI event relates to. Set when activityId resolves to a Task;
  • # otherwise empty. Matches records where a related record meets these conditions.
  • task: TaskFilterInput
  • # User who triggered the KPI event (e.g. created or completed the activity).
  • # Matches records where a related record meets these conditions.
  • client: ClientFilterInput
  • # Activity owner at the time the KPI event occurred. Matches records where a
  • # related record meets these conditions.
  • owner: ClientFilterInput
  • # Sales unit the triggering user belonged to at the time of the event. Matches
  • # records where a related record meets these conditions.
  • unit: SalesUnitFilterInput
  • }