Skip to main content

Generate Report with Transform

POST 

http://localhost/render/:transform_name

Generates a report by processing the provided transform input files.

The report can be generated in various formats (PDF, PNG, JPEG) with configurable options for quality and pagination.

Request

Path Parameters

    transform_name stringrequired

    The name of the transform. A transform identifies a set of one or more files that can be used to generate a report.

Body

A key-value pair for each file to render. Each key name is provided by the GET /transform/{transform_name} endpoint. The first file should be a file called options in JSON format that describes the options to render the report as described for the POST /render endpoint.

Responses

The generated report in one for the supported formats.

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "http://localhost/render/:transform_name");
var content = new StringContent("", null, "multipart/form-data");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
http://localhost
Parameters
— pathrequired
Body