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

Example of Creating a B2C User


This example shows you how to use the users Web service to create a B2C user.

Operation

Use the following operation to create a B2C user:

POST /users/b2C

Sample URL

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

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

Roles

The following roles are valid for this Web service example:

  • CSR Admin
  • B2B Admin
Sample XML Input Rules

The following are the XML input rules:

  • Tags in bold are required, and the corresponding fields cannot be updated.
  • If tags are not present, then the corresponding fields will be set to the default values.
Sample XML Input

The following is an example of XML input:

<userProfile>

<userId>rsam</userId>

<role>User</role>

<firstName>Rich</firstName>

<lastName>Sam</lastName>

<email>mdhoni@example.com</email>

<language>en_US</language>

<billerId>BS2</billerId>

<accountNumber>7836380B2C1</accountNumber>

<isAccessibleUser>0<isAccessibleUser>

</userProfile>

Response Message

The following is an example of the response message:

User Create Success

Visit <link>/users/ rsam</link>

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