POST api/admin/v{version}/server/report
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
ReportRequest| Name | Description | Type | Additional 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:
Response Information
Resource Description
Report| Name | Description | Type | Additional 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.