Create a Comparison Report
URL
/analyzer/api/1.0/comparisons/<comparison>/create_report
HTTP Method
POST: Creates a report from a comparison.
Request Parameters
| Parameter | Type | Description |
|---|---|---|
| path | string | The path of the report to create. |
| reportTemplate | string | The name of a report template to use. |
| workspace | string | The name of the workspace that contains the report template to use. |
| project | string | The name of the project that contains the report template to use. |
| format | string | The format of the report. Possible values are “pdf”, “odt”, “html.” |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| report | string | The path of the newly created report. |
Example Request
http://localhost:5000/analyzer/api/1.0/comparisons/My%20Comparison/create_report
POST Data
{
"path": "C:/My Report.pdf",
"reportTemplate": "Default Report",
"workspace": "Workspace 1",
"project": "Project 1",
"format": "pdf"
}
Example Response
{
"report": "C:/My Report.pdf"
}