POST api/reportserver/reports

Creates a new report.

Request Information

URI Parameters

None.

Body Parameters

Report model.

UploadReport
NameDescriptionTypeAdditional 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

Sample:
{
  "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.

string
NameDescriptionTypeAdditional information

Response Formats

application/json, text/json

Sample:
"sample string 1"
In this article
Not finding the help you need?