POST api/ExcelReport

Documentation for 'DownloadReport'.

Request Information

Parameters

NameDescriptionAdditional information
data
Documentation for 'data'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "headers": "sample string 1",
  "rows": "sample string 2",
  "viewName": "sample string 3",
  "fromDate": "sample string 4",
  "toDate": "sample string 5"
}

application/xml, text/xml

Sample:
<ReportData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.WebApi.Controllers">
  <fromDate>sample string 4</fromDate>
  <headers>sample string 1</headers>
  <rows>sample string 2</rows>
  <toDate>sample string 5</toDate>
  <viewName>sample string 3</viewName>
</ReportData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'ReportData'.