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

Example of Getting a List of Users Assigned to a Node


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

Operation

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

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

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=assigned

XML Response

The following is an example of the XML response:

<userList>
<count>4</count>
<user>
<userId>B2BMANAGER</userId>
<firstName>BBMANAGER</firstName>
<lastName>BBMANAGER</lastName>
</user>
<user>
<userId>B2B5420130517</userId>
<firstName>Subscriber</firstName>
<lastName>User</lastName>
</user>
<user>
<userId>B2B44201313304</userId>
<firstName>Business</firstName>
<lastName>Changed</lastName>
</user>
<user>
<userId>B2B44201315252</userId>
<firstName>Business</firstName>
<lastName>User</lastName>
</user>
<user>
<userId>B2B442013152145</userId>
<firstName>Business</firstName>
<lastName>User</lastName>
</user>
</userList>

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