POST api/reportserver/v1/reports
Creates a new report.
Request Information
URI Parameters
None.
Body Parameters
Report model.
UploadReportName | Description | Type | Additional information |
---|---|---|---|
Name |
The name of the newly uploaded report. |
string |
Required |
Description |
The description of the report. |
string |
None. |
CategoryId |
The ID of the category this report will belong to. |
string |
Required |
ReportFile |
The HttpFile object which contains the report file and additional meta information. |
HttpFile |
Required |
Request body formats
application/json, text/json
{ "Name": "sample string 1", "Description": "sample string 2", "CategoryId": "sample string 3", "ReportFile": { "Name": "sample string 1", "FileName": "sample string 2", "MediaType": "sample string 3", "Buffer": "QEA=" } }
Response Information
Resource Description
The ID of the new report.
stringName | Description | Type | Additional information |
---|
Response Formats
application/json, text/json
"sample string 1"