Table 7. API Resources for Analytics That Are Based on the Business Hierarchy (B2B Only)
|
|
Additional Input Parameters |
|
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/group_spending_trend |
reportPeriodStart, reportPeriodEnd |
Returns the group-spending trend for all groups under a particular business hierarchy position. |
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/service_spending_trend |
reportPeriodStart, reportPeriodEnd |
Returns the service-spending trend for all services under a particular business hierarchy position. |
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/highest_spending_services |
reportPeriodStart, reportPeriodEnd, parameter(num Results) |
Returns the highest-spending service of all services agreements under a particular business hierarchy position. |
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/most_expensive_calls |
reportPeriodStart, reportPeriodEnd, parameter(num Results) |
Returns the most expensive calls of all service agreements under a particular business hierarchy position. |
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/longest_calls |
reportPeriodStart, reportPeriodEnd, parameter(num Results) |
Returns the longest calls of all services agreements under a particular business hierarchy position. |
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/most_frequently_called_numbers |
reportPeriodStart, reportPeriodEnd, parameter(num Results) |
Returns the most frequently called numbers of all services agreements under a particular business hierarchy position. |
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/most_frequently_called_destinations |
reportPeriodStart, reportPeriodEnd, parameter(num Results) |
Returns the most frequently called destinations of all service agreements that a user can access from her position in the company's billing hierarchy. |
GET |
/analytics/{hierarchy_id}/{hierarchy_node_id}/most_frequently_called_ countries |
reportPeriodStart, reportPeriodEnd, parameter(num Results) |
Returns the most frequently called countries of all service agreements that a user can access from her position in the company's billing hierarchy. |