POST api/Generate?fileName={fileName}&format={format}&folder={folder}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fileName

string

Required

format

string

Required

folder

string

None.

Body Parameters

Dictionary of string [key] and string [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReportStream
NameDescriptionTypeAdditional information
Name

string

None.

Bytes

Collection of byte

None.

Extension

string

None.

MimeType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Bytes": "QEA=",
  "Extension": "sample string 2",
  "MimeType": "sample string 3"
}

application/xml, text/xml

Sample:
<ReportStream xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Projibat.Web.Api.Controllers.Api">
  <Bytes>QEA=</Bytes>
  <Extension>sample string 2</Extension>
  <MimeType>sample string 3</MimeType>
  <Name>sample string 1</Name>
</ReportStream>