POST api/report/export/{typereport}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
typereport

string

Required

Body Parameters

ReportModel
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

description

string

None.

subTitle

string

None.

currencyInfo

string

None.

corporateLogo

string

None.

generatedBy

string

None.

columns

Collection of ReportColumn

None.

filters

Collection of FilterItem

None.

values

Collection of ReportValues

None.

footNotes

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "subTitle": "sample string 4",
  "currencyInfo": "sample string 5",
  "corporateLogo": "sample string 6",
  "generatedBy": "sample string 7",
  "columns": [
    {
      "ColumnBase": "sample string 1",
      "ColumnName": "sample string 2",
      "ColumnAlign": "sample string 3",
      "ColumnType": "sample string 4"
    },
    {
      "ColumnBase": "sample string 1",
      "ColumnName": "sample string 2",
      "ColumnAlign": "sample string 3",
      "ColumnType": "sample string 4"
    }
  ],
  "filters": [
    {
      "ReportFieldId": 1,
      "FilterName": "sample string 2",
      "FilterDisplay": "sample string 3",
      "Value": "sample string 4",
      "ValueText": "sample string 5",
      "FilterType": "sample string 6"
    },
    {
      "ReportFieldId": 1,
      "FilterName": "sample string 2",
      "FilterDisplay": "sample string 3",
      "Value": "sample string 4",
      "ValueText": "sample string 5",
      "FilterType": "sample string 6"
    }
  ],
  "values": [
    {
      "BaseOrder": "sample string 1",
      "Header": "sample string 2",
      "Column1": "sample string 3",
      "Column2": "sample string 4",
      "Column3": "sample string 5",
      "Column4": "sample string 6",
      "Column5": "sample string 7",
      "Column6": "sample string 8",
      "Column7": "sample string 9",
      "Column8": "sample string 10",
      "Column9": "sample string 11",
      "Column10": "sample string 12",
      "Column11": "sample string 13",
      "Column12": "sample string 14",
      "Column13": "sample string 15",
      "Column14": "sample string 16",
      "Column15": "sample string 17",
      "Column16": "sample string 18",
      "Column17": "sample string 19",
      "Column18": "sample string 20"
    },
    {
      "BaseOrder": "sample string 1",
      "Header": "sample string 2",
      "Column1": "sample string 3",
      "Column2": "sample string 4",
      "Column3": "sample string 5",
      "Column4": "sample string 6",
      "Column5": "sample string 7",
      "Column6": "sample string 8",
      "Column7": "sample string 9",
      "Column8": "sample string 10",
      "Column9": "sample string 11",
      "Column10": "sample string 12",
      "Column11": "sample string 13",
      "Column12": "sample string 14",
      "Column13": "sample string 15",
      "Column14": "sample string 16",
      "Column15": "sample string 17",
      "Column16": "sample string 18",
      "Column17": "sample string 19",
      "Column18": "sample string 20"
    }
  ],
  "footNotes": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <columns>
    <ReportColumn>
      <ColumnAlign>sample string 3</ColumnAlign>
      <ColumnBase>sample string 1</ColumnBase>
      <ColumnName>sample string 2</ColumnName>
      <ColumnType>sample string 4</ColumnType>
    </ReportColumn>
    <ReportColumn>
      <ColumnAlign>sample string 3</ColumnAlign>
      <ColumnBase>sample string 1</ColumnBase>
      <ColumnName>sample string 2</ColumnName>
      <ColumnType>sample string 4</ColumnType>
    </ReportColumn>
  </columns>
  <corporateLogo>sample string 6</corporateLogo>
  <currencyInfo>sample string 5</currencyInfo>
  <description>sample string 3</description>
  <filters>
    <FilterItem>
      <FilterDisplay>sample string 3</FilterDisplay>
      <FilterName>sample string 2</FilterName>
      <FilterType>sample string 6</FilterType>
      <ReportFieldId>1</ReportFieldId>
      <Value>sample string 4</Value>
      <ValueText>sample string 5</ValueText>
    </FilterItem>
    <FilterItem>
      <FilterDisplay>sample string 3</FilterDisplay>
      <FilterName>sample string 2</FilterName>
      <FilterType>sample string 6</FilterType>
      <ReportFieldId>1</ReportFieldId>
      <Value>sample string 4</Value>
      <ValueText>sample string 5</ValueText>
    </FilterItem>
  </filters>
  <footNotes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </footNotes>
  <generatedBy>sample string 7</generatedBy>
  <id>1</id>
  <name>sample string 2</name>
  <subTitle>sample string 4</subTitle>
  <values>
    <ReportValues>
      <BaseOrder>sample string 1</BaseOrder>
      <Column1>sample string 3</Column1>
      <Column10>sample string 12</Column10>
      <Column11>sample string 13</Column11>
      <Column12>sample string 14</Column12>
      <Column13>sample string 15</Column13>
      <Column14>sample string 16</Column14>
      <Column15>sample string 17</Column15>
      <Column16>sample string 18</Column16>
      <Column17>sample string 19</Column17>
      <Column18>sample string 20</Column18>
      <Column2>sample string 4</Column2>
      <Column3>sample string 5</Column3>
      <Column4>sample string 6</Column4>
      <Column5>sample string 7</Column5>
      <Column6>sample string 8</Column6>
      <Column7>sample string 9</Column7>
      <Column8>sample string 10</Column8>
      <Column9>sample string 11</Column9>
      <Header>sample string 2</Header>
    </ReportValues>
    <ReportValues>
      <BaseOrder>sample string 1</BaseOrder>
      <Column1>sample string 3</Column1>
      <Column10>sample string 12</Column10>
      <Column11>sample string 13</Column11>
      <Column12>sample string 14</Column12>
      <Column13>sample string 15</Column13>
      <Column14>sample string 16</Column14>
      <Column15>sample string 17</Column15>
      <Column16>sample string 18</Column16>
      <Column17>sample string 19</Column17>
      <Column18>sample string 20</Column18>
      <Column2>sample string 4</Column2>
      <Column3>sample string 5</Column3>
      <Column4>sample string 6</Column4>
      <Column5>sample string 7</Column5>
      <Column6>sample string 8</Column6>
      <Column7>sample string 9</Column7>
      <Column8>sample string 10</Column8>
      <Column9>sample string 11</Column9>
      <Header>sample string 2</Header>
    </ReportValues>
  </values>
</ReportModel>

application/x-www-form-urlencoded

Sample:

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.