Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Accounts Web Service >

Example of Getting Billing Account Information


This example shows you how to use the accounts Web service to get the information for a particular billing account.

Operation

Use the following operation to get information for a billing account:

GET /accounts/{accountId}

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/api/v2/accounts/{accountId}

XML Response

The following is an example of the XML response:

<accountInfo currency="USD">
<accountId>BS1|7836380B2B1</accountId>
<billerId>BS1</billerId>
<accountNumber>7836380B2B1</accountNumber>
<currBalance>786.75</currBalance>
<companyId>Dutch Home Insurance</companyId>
<contactName>John Smith</contactName>
</accountInfo>

Web Services Reference for Oracle Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.