New to Telerik Report ServerStart 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

GenerateSqlInfo

NameDescriptionTypeAdditional 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"
Not finding the help you need?
Contact Support