Working with the Chargeback Hierarchy API


This topic describes how can you can perform the following operations on Chargeback Hierarchies using Chargeback Hierarchy HTTP methods provided by the Chargeback API.

To create a hierarchy

You can use the POSTHTTP method to create, instantiate and search targets through the Chargeback API. There are various methods in the Chargeback API library that allow you to do so.

To instantiate a new instance of a hierarchy

To set the root target for the hierarchy based on hierarchy ID

The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
 

To append a target node under the target parent specified

To retrieve a hierarchy

You can use the GETHTTP method to retrieve Chargeback hierarchies through the Chargeback API. There are various methods in the Chargeback API library that allow you to do so.

To retrieve the hierarchical structure of the target by ID

To retrieve a hierarchy based on hierarchy ID

To search all instances of a hierarchy

To search the target structure in the hierarchy specified

To update a hierarchy

You can use the PUTHTTP method to update or modify Chargeback hierarchies through the Chargeback API. There are various methods in the Chargeback API library that allow you to do so.

To modify hierarchy data based on hierarchy ID

To move an existing target node under the new target parent specified

To delete a hierarchy

You can use the DELETEHTTP method to delete or remove Chargeback hierarchies through the Chargeback API. There are various methods in the Chargeback API library that allow you to do so.

To delete the target from a hierarchy

To delete a hierarchy based on hierarchy ID

Where to go from here

Working-with-data-types-of-the-Chargeback-Hierarchy-API

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*