Web Services Reference for Oracle Self-Service E-Billing > Examples of Web Services > Examples of the Analytics Web Services >

Example of Getting a Summary of Unbilled Usage for an Account by Service


This example shows you how to use the analytics Web service to get a summary of the unbilled usage for an account by service.

Operation

Use the following operation to get a summary of unbilled usage data for an account by service:

GET /analytics/{account_id}/unbilledSummaryByService

Sample URL

The following is a sample URL for this Web service example:

http://myhost.example.com:7017/ebillingrs/rs/analytics/BS1%7CAC-B2B-123361-01/unbilledSummaryByService

XML Response

The following is an example of the XML response:

<report>

<productList>

<count>1</count>

<header></header>

<product>

<Product_Name>Business Circle 2500</Product_Name>

</product>

</productList>

<serviceList>

<count>3</count>

<header>

<Voice>Minutes</Voice>

<Message>Messages</Message>

<Data>Kilobytes</Data>

</header>

<service>

<service_num>555-444-3301</service_num>

<Voice>523</Voice>

<Message>10</Message>

<Data>64</Data>

<link>

/analytics/BS1%7CAC-B2B-123361-01/service_agreements/555-444-3301/unbilledByPlan

</link>

</service>

<service>

<service_num>555-444-3302</service_num>

<Voice>375</Voice>

<Message>8</Message>

<Data>0</Data>

<link>

/analytics/BS1%7CAC-B2B-123361-01/service_agreements/555-444-3302/unbilledByPlan

</link>

</service>

<service>

<service_num>555-444-3303</service_num>

<Voice>602</Voice>

<Message>9</Message>

<Data>161</Data>

<link>

/analytics/BS1%7CAC-B2B-123361-01/service_agreements/555-444-3303/unbilledByPlan

</link>

</service>

</serviceList>

</report>

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