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

Example of Getting a List of Users Authorized to a Node


This example shows you how to use the hierarchy Web service to returns a list of users authorized to a node.

Operation

Use the following operation to get a list of users authorized to a node:

GET /hierarchies/{hierarchy_id}/{node_id}/users/authorized

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/hierarchies/91295/91296/users/authorized

Roles

The following roles are valid for this Web service example:

  • B2B Admin
  • B2B Manager
  • B2B User
XML Response

The following is an example of the XML response:

<userList>

<count>3</count>

<user>

<userId>ftown</userId>

<firstName>Frank</firstName>

<lastName>Town</lastName>

</user>

<user>

<userId>B2B57437</userId>

<firstName>Business</firstName>

<lastName>User</lastName>

</user>

<user>

<userId>B2B442013134942</userId>

<firstName>Business</firstName>

<lastName>User</lastName>

</user>

</userList>

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