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

Example of Creating a B2B Billing Account


This example shows you how to use the accounts Web service to create a B2B billing account and add it to the company's billing hierarchy.

Operation

Use the following operation to create a B2B account:

POST accounts/b2b

Sample URL

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

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

Role

CSR Admin

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