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

Example of Creating a B2C Billing Account


This example shows you how to use the accounts Web service to create a B2C billing account.

Operation

Use the following operation to create a B2C account:

POST /accounts/b2c

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/accounts/b2c

Role

CSR Admin

Sample XML Input

The following is an example of XML input:

<accountInfo>

<accountId>BS2|7836380B2C1</ accountId >

<billerId>BS2</billerId>

<accountNumber>7836380B2C1</accountNumber>

<accountType>PREPAY</accountType>

<accountName>7836380B2C1</accountName>

<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 Create Success

Visit <link>/accounts/BS2%7C7836380B2C1</link>

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