GenerateReport

Description

The GenerateReport method triggers the generation of a report and return a unique ID to reference the file to download once generation is over.

Parameters

REST example of a request without Client authentication and with default arguments

POST http://localhost:7400/Results/v1/Service.svc/GenerateReport HTTP/1.1
Content-Type: application/json

{ "d": { }}

The response content contains the ReportId that will allow you to download the generated report.

REST example of a request without Client authentication and with customized arguments

POST http://localhost:7400/Results/v1/Service.svc/GenerateReport HTTP/1.1
Content-Type: application/json

{   "d": {
                “ApiKey”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
  	"TestResultName": "testA",
  	"ComparisonReport": true,
  	"OtherTestResultName": "testB",
  	"CustomReportContents": true,
  	"Format": "PDF"
}}

The response content contains the ReportId that will allow you to download the generated report.