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 Targets for a Node


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

Operation

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

GET /hierarchies/{hierarchy_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/linktarget_type

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:

<linkTargetTypeList>

<count>3</count>

<linkTargetType>

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

</linkTargetType>

<linkTargetType>

<linkTargetType>edx:omf:company:</linkTargetType>

</linkTargetType>

<linkTargetType>

<linkTargetType>edx:omf:serviceagreement:</linkTargetType>

</linkTargetType>

</linkTargetTypeList>

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