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

Example of Getting the Unbilled Usage Transaction Details for a Tariff


This example shows you how to use the analytics Web service to get the unbilled usage transaction details for a tariff.

Operation

Use the following operation to get the unbilled usage transaction details for a tariff:

GET /analytics/{account_id}/service_agreements/{service_number}/unbilledDetails

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/service_agreements/555-444-3301/unbilledDetails?parameter(TariffKey)=1

XML Response

The following is an example of the XML response:

<report>

<transactionList>

<count>10</count>

<header></header>

<transaction>

<called_num>555-444-3305</called_num>

<date pattern="MM/dd/yyyy">11/14/2013</date>

<time>11:02</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>5</total_usage>

</transaction>

<transaction>

<called_num>555-444-3302</called_num>

<date pattern="MM/dd/yyyy">11/14/2013</date>

<time>15:10</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>12</total_usage>

</transaction>

<transaction>

<called_num>555-444-3305</called_num>

<date pattern="MM/dd/yyyy">11/14/2013</date>

<time>11:02</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>25</total_usage>

</transaction>

<transaction>

<called_num>555-444-3304</called_num>

<date pattern="MM/dd/yyyy">11/16/2013</date>

<time>08:30</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>3</total_usage>

</transaction>

<transaction>

<called_num>555-444-3303</called_num>

<date pattern="MM/dd/yyyy">11/16/2013</date>

<time>08:10</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>17</total_usage>

</transaction>

<transaction>

<called_num>555-444-3302</called_num>

<date pattern="MM/dd/yyyy">11/14/2013</date>

<time>15:10</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>32</total_usage>

</transaction>

<transaction>

<called_num>555-444-3305</called_num>

<date pattern="MM/dd/yyyy">11/14/2013</date>

<time>12:02</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>26</total_usage>

</transaction>

<transaction>

<called_num>555-444-3304</called_num>

<date pattern="MM/dd/yyyy">11/05/2013</date>

<time>06:30</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>11</total_usage>

</transaction>

<transaction>

<called_num>555-444-3303</called_num>

<date pattern="MM/dd/yyyy">11/26/2013</date>

<time>18:10</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>9</total_usage>

</transaction>

<transaction>

<called_num>555-444-3302</called_num>

<date pattern="MM/dd/yyyy">11/10/2013</date>

<time>12:10</time>

<area_cd>Anytown, CA</area_cd>

<total_usage>12</total_usage>

</transaction>

</transactionList>

</report>

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