OBJECT
LeadOpptyKPIEntity
KPI event of a lead or opportunity (e.g. created, qualified, won, lost or moved to another step), used in activity reporting.
link GraphQL Schema definition
- type LeadOpptyKPIEntity {
- # True when the record is protected against deletion because it must always exist
- # in the space. Deleting a record that is not protected can still fail on other
- # checks. Read-only.
- : Boolean!
- # Unique identifier of entity.
- : ID!
- # Specifies if the entity is considered deleted.
- : Boolean
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # User who triggered the KPI event (e.g. created the lead, qualified it, won or
- # lost the opportunity, moved the record).
- : ClientEntity
- # Lead this KPI event relates to. Set when leadOpptyId resolves to a Lead;
- # otherwise empty.
- : LeadEntity
- # Opportunity this KPI event relates to. Set when leadOpptyId resolves to an
- # Opportunity; otherwise empty.
- : OpportunityEntity
- # Lead/opportunity owner at the time the KPI event occurred.
- : ClientEntity
- # Sales unit the triggering user belonged to at the time of the event.
- : SalesUnitEntity
- # Application context in which the KPI event was triggered (e.g. browser,
- # automation, third-party integration).
- : ID
- # Id of the user who triggered the event.
- : ID
- # KPI metric this event represents: CreateLeads, CreateOppty, QualifyLead,
- # WinOppty, LoseLead, LoseOppty, LastMove or LastModified.
- : LeadOpptyKpiEnum!
- # Id of the lead or opportunity the KPI event relates to.
- : ID!
- # Id of the lead/opportunity owner at the time of the event.
- : ID
- # Id of the sales unit.
- : ID!
- # Revision when entity was lastly changed.
- : Int
- # Permissions the current user has on this record, out of the requested ones.
- #
- # Arguments
- # permissions: Permissions to check; the result lists those the
- # current user has.
- (: [EntityPermsEnum!]!): [EntityPermsEnum!]!
- }
link Require by
- CreateLeadOpptyKPIPayloadResult of the createLeadOpptyKpi mutation.
- DeleteLeadOpptyKPIPayloadResult of the deleteLeadOpptyKpi mutation.
- LeadOpptyKPIEntityEdgeA Relay edge containing a `LeadOpptyKPIEntity` and its cursor.
- LeadOpptyKPIRepositoryRead operations for LeadOpptyKPI records.
- UpdateLeadOpptyKPIPayloadResult of the updateLeadOpptyKpi mutation.