POST api/Reports/Execute?reportName={reportName}&skip={skip}&take={take}&field={field}&reverse={reverse}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
reportName

string

Required

skip

integer

Default value is -1

take

integer

Default value is -1

field

string

Default value is

reverse

boolean

Default value is False

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

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 'Object'.

Response Information

Resource Description

ServiceExecutionResultOfObject
NameDescriptionTypeAdditional information
Result

Object

None.

Success

boolean

None.

ChangesFound

boolean

None.

Errors

Collection of ServiceErrorItem

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    {
      "Name": "sample string 1",
      "Code": 2,
      "Value": "sample string 3"
    },
    {
      "Name": "sample string 1",
      "Code": 2,
      "Value": "sample string 3"
    }
  ],
  "Result": {},
  "Success": true,
  "ChangesFound": true
}

application/xml, text/xml

Sample:
<ServiceExecutionResultOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POLi.CodeInfrastructure.Services">
  <ChangesFound>true</ChangesFound>
  <Errors>
    <ServiceErrorItem>
      <Code>2</Code>
      <Name>sample string 1</Name>
      <Value>sample string 3</Value>
    </ServiceErrorItem>
    <ServiceErrorItem>
      <Code>2</Code>
      <Name>sample string 1</Name>
      <Value>sample string 3</Value>
    </ServiceErrorItem>
  </Errors>
  <Success>true</Success>
  <Result />
</ServiceExecutionResultOfanyType>