Web Services Reference for Oracle Self-Service E-Billing > RESTful API Resource Reference >

Web Service API Resources for Analytics Based on the Business Hierarchy (B2B Only)


You use the analytics resource to manage analytics that are based on the B2B business hierarchy as described in Table 7. The number of entries returned is based on the calling user's access to the company's specific business hierarchy.

Table 7. API Resources for Analytics That Are Based on the Business Hierarchy (B2B Only)
Operation
Resource URI
Additional Input Parameters
Description

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.

Web Services Reference for Oracle Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.