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

Example of Updating an Existing Billing Account


This example shows you how to use the accounts Web service to update the information for an existing billing account.

Operation

Use the following operation to update an existing billing account:

PUT /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
Sample XML Input Rules

The following are the XML input rules:

  • Tags in bold are required, and the corresponding fields cannot be updated.
  • Tags that are not in bold are optional.
  • If tags are not present, then the corresponding fields are not updated.
  • If tags are present with an empty value, then the corresponding fields are set to empty if a null value is allowed.
Sample XML Input

The following is an example of XML input:

<accountInfo>

<accountId>BS1|7836380B2B1</accountId>

<billerId>BS1</billerId>

<accountNumber>7836380B2B1</accountNumber>

<accountName>7836380B2B1</accountName>

<companyId>Dutch Home Insurance</companyId>

<contactName>xxx</contactName>

<address1>...</address1>

<address2>...</address2>

<address3>...</address3>

<city>...</city>

<state>...</state>

<country>...</country>

<postalCode>...</postalCode>

</accountInfo>

Response Message

The following is an example of the response message:

Account Update Success

Visit <link>/accounts/BS1%7C7836380B2B1</link>

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