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 Business Hierarchies


This example shows you how to use the hierarchy Web service to get a list of business hierarchies, including IDs and names, that the authenticated user can access.

Operation

Use the following operation to get a list of business hierarchies for a user:

GET /hierarchies/business

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/hierarchies/business

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:

<hierarchyList>

<count>1</count>

<hierarchy>

<hierarchyId>102963</hierarchyId>

<hierName>Hierarchy43358</hierName>

<hierType>BUSINESS</hierType>

<company>Dutch Home Insurance</company>

</hierarchy>

</hierarchyList>

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