POST api/report/{reportName}/{orderDirection}/{orderBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
reportName

string

Required

orderDirection

string

Default value is ASC

orderBy

string

Default value is

Body Parameters

Collection of FilterItem
NameDescriptionTypeAdditional information
ReportFieldId

integer

None.

FilterName

string

None.

FilterDisplay

string

None.

Value

string

None.

ValueText

string

None.

FilterType

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "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"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFilterItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <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>
</ArrayOfFilterItem>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.