Web Services Reference for Oracle Billing Insight > 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/rs/api/v2/analytics/accounts

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 Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.