Web Services Reference for Oracle Billing Insight > 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/{userId}

Sample URL

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

http://myhost.example.com:7017/rs/api/v2/users/mdhoni

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 Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.