New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v2/data/sql/parameters
Returns the required parameters for the specified data connection.
Request Information
URI Parameters
None.
Body Parameters
Query with parameters model.
| Name | Description | Type | Additional information |
|---|---|---|---|
| QueryInfo |
No documentation available. | QueryInfo |
Required |
| Parameters |
No documentation available. | Collection of QueryInfoParameter |
None. |
Request body formats
application/json, text/json
json
{
"QueryInfo": {
"SelectCommandType": 0,
"SelectCommand": "SELECT * FROM Orders",
"CommandTimeout": 1496,
"Name": "Northwind SQL Connection",
"Provider": "System.Data.SqlClient",
"ConnectionString": "Data Source=.;Initial Catalog=Northwind;Integrated Security=True"
},
"Parameters": [
{
"Name": "CustomerId",
"Value": 12345,
"DbType": 11
},
{
"Name": "IsActive",
"Value": true,
"DbType": 3
}
]
}
Response Information
Resource Description
Collection of QueryParameter
| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
No documentation available. | string |
None. |
| DbType |
No documentation available. | System.Data.DbType |
None. |
Response Formats
application/json, text/json
Sample not available.