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 Link Target Types for a Node


This example shows you how to use the hierarchy Web service to returns a list of link targets for a particular node.

Operation

Use the following operation to get a list of link target types for a particular node:

GET /hierarchies/{hierarchy_id}/{node_id}/{linktarget_type}

Sample URL

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

http://myhost.example.com:7017/ebillingrs/rs/hierarchies/91295/91296/edx:amf:billingaccount

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>100025</nodeId>

<hierarchyId>91295</hierarchyId>

<parentId>91296</parentId>

<nodeName>7836380B2B1</nodeName>

<linkTargetType>edx:amf:billingaccount:</linkTargetType>

<linkTargetURI>edx:amf:billingaccount:BS1|7836380B2B1</linkTargetURI>

<linkTargetExternalKey>BS1|7836380B2B1</linkTargetExternalKey>

</hierarchyNode>

<hierarchyNode>

<nodeId>91298</nodeId>

<hierarchyId>91295</hierarchyId>

<parentId>91296</parentId>

<nodeName>7836380DEMO1</nodeName>

<linkTargetType>edx:amf:billingaccount:</linkTargetType>

<linkTargetURI>edx:amf:billingaccount:BS1|7836380DEMO1</linkTargetURI>

<linkTargetExternalKey>BS1|7836380DEMO1</linkTargetExternalKey>

</hierarchyNode>

</hierarchyNodeList>

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