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 Child Nodes


This example shows you how to use the hierarchy Web service to returns a list of child nodes for a particular node, and a node index.

Operation

Use the following operation to get a list of child nodes for a node:

GET /hierarchies/{hierarchy_id}/{node_id}/children

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/hierarchies/103041/103042/children

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:

<hierarchyNodeList>

<count>2</count>

<hierarchyNode>

<nodeId>103042</nodeId>

<hierarchyId>103041</hierarchyId>

<nodeName>Del24410</nodeName>

<linkTargetType>edx:hierarchy:folder:</linkTargetType>

<linkTargetURI>edx:hierarchy:folder:Dutch Home Insurance_Del24410</linkTargetURI>

<linkTargetExternalKey>Dutch Home Insurance_Del24410</linkTargetExternalKey>

</hierarchyNode>

<hierarchyNode>

<nodeId>103043</nodeId>

<hierarchyId>103041</hierarchyId>

<parentId>103042</parentId>

<nodeName>GName</nodeName>

<linkTargetType>edx:hierarchy:folder:</linkTargetType>

<linkTargetURI>edx:hierarchy:folder:GID1</linkTargetURI>

<linkTargetExternalKey>GID1</linkTargetExternalKey>

</hierarchyNode>

</hierarchyNodeList>

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