Generate Program Documentation Report
Generates a Program Documentation report for a given Profitability and Cost Management point of view.
The report is generated in the profitoutbox folder with the name
HPCMMLProgramDocumentationReport_{AppName)_{POV}.pdf. The file can
be downloaded using File Explorer.
Required Roles
Service Administrator, Power User, User, or Viewer
REST Resource
GET
epm/rest/{api_version}/applications/{application}/povs/{POV}/programDocumentationReport
Request
Supported Media Types: application/json
The following table summarizes the client request.
Table 10-21 Parameters
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
api_version |
Version of the API you are developing with, such as
v1 |
Path | Yes | None |
application |
Name of the application for which to create the report | Path | Yes | None |
pov |
The POV for which to create the report, for example, FY17_JUN_Actual_Working | Path | Yes | None |
fileType |
The file format to use for the report, PDF,
XML, WORD,
EXCEL, or HTML |
Query | No | |
skipFilters |
Setting this parameter to true skips the process of resolving each rule filter to determine the values for " Estimated Source Count", "Estimated Destination Count", and "Estimated Target Count" in the report. Instead, the corresponding Level0 member counts are used. This can speed up report generation for large models having many rules that use filters. When this parameter is skipped or passed with false, it resolves all the filters to give more accurate counts. |
Query | No | False |
useAlias |
Boolean value to specify whether to use aliases in the report,
true or falset
|
Query | No | False |
Example URL with fileType set to PDF and
useAlias set to true:
https://<BASE-URL>/epm/rest/v1/applications/BksML30/povs/2016_January_Actual/programDocumentationReport?queryParameter={"fileType":"PDF","useAlias":"true"}
Response
Supported Media Types: application/json
Table 10-22 Parameters
| Name | Description |
|---|---|
details |
Program Documentation report name, such as HPCMMLProgramDocumentationReport_BksML30_2016_January_Actual.pdf, and report status
|
status |
See Migration Status Codes |
statusMessage |
Message about the status, such as Success |
type |
Profitability |
data |
Parameters as key value pairs |
links |
Detailed information about the link |
href |
Links to API call |
action |
The HTTP call type |
rel |
Relationship type |
data |
Parameters as key value pairs passed in the request |
Example of Response Body
The following shows an example of the response body in JSON format.
{
"type":"Profitability",
"status":0,
"statusMessage":"Success",
"details":"Program Documentation report HPCMMLProgramDocumentationReport_BksML30_2016_January_Actual.pdf generated successfully in the Outbox folder."
}