HierarchyNodeSummary
Headline figures for one selected node, counting the node and everyone below it.
type HierarchyNodeSummary {
customerCount: Int!
descendantsByRole: [HierarchyRoleCount!]!
directReports: Int!
name: String!
orderCount: Int!
orgWide: Boolean!
ownCustomerCount: Int!
ownOrderCount: Int!
ownRevenue: Float!
role: String
teamSize: Int!
totalRevenue: Float!
userId: ID!
}
Fields
HierarchyNodeSummary.customerCount ● Int! non-null scalar
How many customers the node and its team have.
HierarchyNodeSummary.descendantsByRole ● [HierarchyRoleCount!]! non-null object
How many people below the node there are in each role.
HierarchyNodeSummary.directReports ● Int! non-null scalar
How many people report directly to the node.
HierarchyNodeSummary.name ● String! non-null scalar
The name of the node.
HierarchyNodeSummary.orderCount ● Int! non-null scalar
How many orders the node and its team have.
HierarchyNodeSummary.orgWide ● Boolean! non-null scalar
True when the node sees the whole organization, not just the people below it.
HierarchyNodeSummary.ownCustomerCount ● Int! non-null scalar
The node's own share of the customer count.
HierarchyNodeSummary.ownOrderCount ● Int! non-null scalar
The node's own share of the order count.
HierarchyNodeSummary.ownRevenue ● Float! non-null scalar
The node's own share of the revenue.
HierarchyNodeSummary.role ● String scalar
The role of the node.
HierarchyNodeSummary.teamSize ● Int! non-null scalar
How many people are below the node.
HierarchyNodeSummary.totalRevenue ● Float! non-null scalar
The revenue of the node and its team.
HierarchyNodeSummary.userId ● ID! non-null scalar
The ID of the user.
Returned By
hierarchyNodeSummary query