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

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


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

Table 6. API Resources for Analytics That Are Based on the Business Hierarchy (Business Edition 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
(numResults)

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
(numResults)

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
(numResults)

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
(numResults)

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
(numResults)

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
(numResults)

Returns the most frequently called countries of all service agreements that a user can access from her position in the company's billing hierarchy.

POST

/analytics/{hierarchy_id}/{hierarchy_node_id}/ group_spending_trend/batchrpts

reportPeriodStart, reportPeriodEnd

Creates a batch report schedule request for the Group Spending Trend report.

POST

analytics/{hierarchy_id}/{hierarchy_node_id}/ service_spending_trend/ batchrpts

reportPeriodStart, reportPeriodEnd

Creates a batch report schedule request for Service Spending Trend report.

POST

/analytics/{hierarchy_id}/{hierarchy_node_id}/ highest_spending_
services/batchrpts

reportPeriodStart, reportPeriodEnd,

parameter
(numResults)

Creates a batch report schedule request for the Highest Spending Services report.

POST

/analytics/{hierarchy_id}/{hierarchy_node_id}/ most_expensive_calls/ batchrpts

reportPeriodStart, reportPeriodEnd,

parameter
(numResults)

Creates a batch report schedule request for the Most Expensive Calls report.

POST

/analytics/{hierarchy_id}/{hierarchy_node_id}/longest_calls/batchrpts

reportPeriodStart, reportPeriodEnd,

parameter
(numResults)

Creates a batch report schedule request for the Longest Calls report.

POST

/analytics/{hierarchy_id}/{hierarchy_node_id}/most_frequently_called
_numbers/batchrpts

reportPeriodStart, reportPeriodEnd,

parameter
(numResults)

Creates a batch report schedule request for the Most Frequently Called Numbers report.

POST

/analytics{hierarchy_id}/{hierarchy_node_id}/most_frequently_called
_destinations/batchrpts

reportPeriodStart, reportPeriodEnd,

parameter
(numResults)

Creates a batch report schedule request for the Most Frequently Called Destinations report.

POST

/analytics{hierarchy_id}/{hierarchy_node_id}/most_frequently_called
_countries/batchrpts

reportPeriodStart, reportPeriodEnd,

parameter
(numResults)

Creates a batch report schedule request for Most Frequently Called Countries report.

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