Web Services Reference for Oracle Billing Insight > Examples of Web Services > Examples of the Hierarchy Web Service >

Example of Publishing a Hierarchy for Specific Periods


This example shows you how to use the analytics Web service to publish a hierarchy for specific periods.

Operation

Use the following operation to publish a hierarchy for specific periods:

POST /hierarchies/{hierarchyId}/periods

Sample URL

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

http://myhost.example.com:7017/rs/api/v2/hierarchies/182003/periods

Sample JSON Input

The following is an example of the JSON input:

{
"startPeriod": "Feb-16",
"endPeriod": "Sep-16"
}

Sample JSON Response

The following is an example of the JSON response:

Hierarchy published successfully.
Visit
<link>http://myhost.example.com:7017/rs/api/v2/hierarchies/182003</link>

Web Services Reference for Oracle Billing Insight Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.