Web Services Reference for Oracle Self-Service E-Billing > 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/ebillingrs/rs/users

Roles

The following roles are valid for this Web service example:

  • CSR Admin
  • CSR
  • B2B Admin
  • B2B Manager
  • B2C User
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 Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.