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 Accounts


This example shows you how to use the analytics Web service to get a summary of the accounts that the authenticated user can access for a particular period.

Operation

Use the following operation to get a summary of accounts:

GET /analytics/accounts

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/ama;utocs/accounts

Roles

The following roles are valid for this Web service example:

  • B2B Admin
  • B2B Manager
  • B2C User
XML Response

The following is an example of the XML response:

<accountList>

<count>2</count>

<account>

<accountId>BS1|7836380B2B1</accountId>

<billerId>BS1</billerId>

<accountNumber>7836380B2B1</accountNumber>

<link>/analytics/BS1%7C7836380B2B1/summary?reportPeriodStart=93&reportPeriodEnd=93</link>

</account>

<account>

<accountId>BS1|7836380DEMO1</accountId>

<billerId>BS1</billerId>

<accountNumber>7836380DEMO1</accountNumber>

<link>/analytics/BS1%7C7836380DEMO1/summary?reportPeriodStart=93&reportPeriodEnd=93</link>

</account>

</accountList>

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