POST api/admin/v{version}/server/report

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ReportRequest
NameDescriptionTypeAdditional information
ReportSQL

string

None.

ReportArgs

Collection of ReportArg

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportSQL": "sample string 1",
  "ReportArgs": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

text/html

Sample:
{"ReportSQL":"sample string 1","ReportArgs":[{"Name":"sample string 1","Value":"sample string 2"},{"Name":"sample string 1","Value":"sample string 2"}]}

application/xml, text/xml

Sample:
<ReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DispatchITV2.Models.Requests">
  <ReportArgs>
    <ReportRequest.ReportArg>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </ReportRequest.ReportArg>
    <ReportRequest.ReportArg>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </ReportRequest.ReportArg>
  </ReportArgs>
  <ReportSQL>sample string 1</ReportSQL>
</ReportRequest>

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

Response Information

Resource Description

Report
NameDescriptionTypeAdditional information
ColumnNames

Collection of string

None.

Rows

Collection of Collection of Object

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.