OBJECT
ActivityKPIEntity
Recorded KPI event of a task or an appointment, such as its creation or completion, used in KPI reports.
link GraphQL Schema definition
- type ActivityKPIEntity {
- # 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
- # Appointment this KPI event relates to. Set when activityId resolves to an
- # Appointment; otherwise empty.
- : AppointmentEntity
- # Task this KPI event relates to. Set when activityId resolves to a Task;
- # otherwise empty.
- : TaskEntity
- # User who triggered the KPI event (e.g. created or completed the activity).
- : ClientEntity
- # Activity owner at the time the KPI event occurred.
- : ClientEntity
- # Sales unit the triggering user belonged to at the time of the event.
- : SalesUnitEntity
- # Id of the appointment or task the KPI event relates to.
- : ID!
- # 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: ActivityCreate, ActivityCompleted or
- # LastModified.
- : ActivityKpiEnum!
- # Id of the activity 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
- ActivityKPIEntityEdgeA Relay edge containing a `ActivityKPIEntity` and its cursor.
- ActivityKPIRepositoryRead operations for ActivityKPI records.
- CreateActivityKPIPayloadResult of the createActivityKpi mutation.
- DeleteActivityKPIPayloadResult of the deleteActivityKpi mutation.
- UpdateActivityKPIPayloadResult of the updateActivityKpi mutation.