Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Users Web Service >

Example of Getting a List of Users


This example shows you how to use the users Web service to get a list of users. The list returned is based on the authenticated user's role.

Operation

Use the following operation to get a list of users:

GET /users

Sample URL

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

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

XML Response

The following is an example of the XML response:

<userList>
count>2</count>
<user>
<userId>mdhoni</userId>
<firstName>Mahendra</firstName>
<lastName>Dhoni</lastName>
<email>mdhoni@example.com</email>
<link>/users/mdhoni</link>
</user>
<user>
<userId>fedorastuart</userId>
<firstName>Fedora</firstName>
<lastName>Stuart</lastName>
<email>fedorastuart@example.com</email>
<link>/users/fedorastuart</link>
</user>
</userList>

Web Services Reference for Oracle Billing Insight Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.