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

Example of Getting a User's Information


This example shows you how to use the users Web service to get information for a user.

Operation

Use the following operation to get a user's information:

GET /users/{user_id}

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/users/{user_id}

Roles

The following roles are valid for this Web service example:

  • CSR Admin
  • CSR
  • B2B Admin
  • B2B Manage
  • B2C User
XML Response

The following is an example of the XML response:

<userProfile>

<userId>mdhoni</userId>

<role>Manager</role>

<firstName>Mahendra</firstName>

<lastName>Dhoni</lastName>

<addressLine1>j street apt 1900</addressLine1>

<city>boston</city>

<state>MA</state>

<zip>04109</zip>

<country>USA</country>

<homePhone>555-111-1884</homePhone>

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

<paperOn>Y</paperOn>

<isAccessibleUser>0<isAccessibleUser>

</userProfile>

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