OBJECT

LeadOpptyKPIEntity

link GraphQL Schema definition

  • type LeadOpptyKPIEntity {
  • # Tells if the entity instance is protected against delete (Entities that need to
  • # be present in the system at any time). Delete action still may fail if entity is
  • # deletable, due some other additional validations.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # User who triggered the KPI event (e.g. created the lead, qualified it, won or
  • # lost the opportunity, moved the record).
  • client: ClientEntity
  • # Lead this KPI event relates to. Set when lead_oppty_id resolves to a Lead;
  • # otherwise empty.
  • lead: LeadEntity
  • # Opportunity this KPI event relates to. Set when lead_oppty_id resolves to an
  • # Opportunity; otherwise empty.
  • oppty: OpportunityEntity
  • # Lead/opportunity owner at the time the KPI event occurred.
  • owner: ClientEntity
  • # Sales unit the triggering user belonged to at the time of the event.
  • unit: SalesUnitEntity
  • # Application context in which the KPI event was triggered (e.g. browser,
  • # automation, third-party integration).
  • applicationId: ID
  • # Id of the user who triggered the event.
  • clientId: ID
  • # KPI metric this event represents: CreateLeads, CreateOppty, QualifyLead,
  • # WinOppty, LoseLead, LoseOppty, LastMove.
  • kpi: LeadOpptyKpiEnum!
  • # Id of the lead or opportunity the KPI event relates to.
  • leadOpptyId: ID!
  • # Id of the lead/opportunity owner at the time of the event.
  • ownerId: ID
  • # Id of the sales unit.
  • unitId: ID!
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Checks which permissions current user has on concrete entity instance.
  • #
  • # Arguments
  • # permissions: [Not documented]
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }