New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v2/documents
Generates a new report document on the server.
Request Information
URI Parameters
None.
Body Parameters
The data model needed to create the document.
| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportId |
Specifies the ID of the report which should be rendered. | string |
Required |
| Format |
Specifies the document format in which the report should be rendered. | string |
Required |
| DeviceInfo |
Specifies the device information settings. | Dictionary of string [key] and Object [value] |
None. |
| ParameterValues |
Specifies the actual values of the report parameters that will be used during the report rendering. | Dictionary of string [key] and Object [value] |
None. |
Request body formats
application/json, text/json
json
{
"ReportId": "7dab72212d0",
"Format": "Pdf",
"DeviceInfo": {
"Device Info 1378": "2024-01-15",
"Device Info 1380": 12345
},
"ParameterValues": {
"IsActive": true,
"OrderDate": "2024-01-15"
}
}
Response Information
Resource Description
The ID of the generated report document.
string
| Name | Description | Type | Additional information |
|---|
Response Formats
application/json, text/json
"Create 1384"