New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v3/data/sql/generate
Generates an SQL query from the specified query designer state.
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ProviderName |
No documentation available. | string |
None. |
| ConnectionString |
No documentation available. | string |
None. |
| QueryDesignerState |
No documentation available. | string |
None. |
Request body formats
application/json, text/json, application/*+json
json
{
"ProviderName": "System.Data.SqlClient",
"ConnectionString": "Data Source=.;Initial Catalog=Northwind;Integrated Security=True",
"QueryDesignerState": "{\"query\":\"SELECT * FROM Orders\"}"
}
Response Information
Resource Description
string
Response Formats
application/json
"SELECT * FROM Orders"