Sharing a Report with API Portal
Pre-requisites:
To share a report through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
In certain scenarios, API Portal users might require your customized reports for scheduling and monitoring the API usage.
CentraSite provides a command tool named share Report for this purpose.
To sharing a report with API Portal
Run the command share Report. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd share Report [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -sharedReport <REPORT-NAME>
The input parameters are:
Parameter | Description |
CENTRASITE-URL | (Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
USER-ID | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
PASSWORD | The password for the registered CentraSite user identified by the parameter USER-ID. |
SHARED-REPORT | Name of the report to share. If the report name contains white spaces, enclose the name with "". |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd share Report -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -sharedReport “API Usage Report”
The response to this command could be:
Executing the command : share Report
Successfully executed the command : share Report