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

Example of Getting a List of Users Unassigned to a Node


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

Operation

Use the following operation to get a list of users unassigned to a nodes:

GET /hierarchies/{hierarchyId}/nodes/{nodeId}/users?status=unassigned

Sample URL

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

http://myhost.example.com:7017/rs/api/v2/hierarchies/91295/nodes/91296/users?status=unassigned

XML Response

The following is an example of the XML response:

<userList>
<count>3</count>
<user>
<userId>unohu</userId>
<firstName>Uno</firstName>
<lastName>Hu</lastName>
</user>
<user>
<userId>fedorastuart</userId>
<firstName>Fedora</firstName>
<lastName>Stuart</lastName>
</user>
<user>
<userId>mdhoni</userId>
<firstName>Mahendra</firstName>
<lastName>Dhoni</lastName>
</user>
</userList>

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