Web Services Reference for Oracle Self-Service E-Billing > 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/{account_id}

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/accounts/{account_id}

Roles

The following roles are valid for this Web service example:

  • CSR Admin
  • CSR
  • B2B Admin
  • B2B Manager
  • B2C User
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 Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.