<h1>POST api/reportserver/v2/data/sql/parameters</h1>
<div>
<p>
Returns the required parameters for the specified data connection.
</p>

<h2>Request Information</h2>

<h3>URI Parameters</h3>
<p>None.</p>

<h3>Body Parameters</h3>

<p>Query with parameters model.</p>

<a href="/implementer-guide/apis/rest-api/v2/queryinfowithparameters">QueryInfoWithParameters</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">QueryInfo</td>
<td class="parameter-documentation">
<p>No documentation available.</p>
</td>
<td class="parameter-type">
<a href="/implementer-guide/apis/rest-api/v2/queryinfo">QueryInfo</a>

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Parameters</td>
<td class="parameter-documentation">
<p>No documentation available.</p>
</td>
<td class="parameter-type">
Collection of <a href="/implementer-guide/apis/rest-api/v2/queryinfoparameter">QueryInfoParameter</a>

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
</tbody>
</table>
<h3>Request body formats</h3>
<div>
<h4 class="sample-header">application/json, text/json</h4>
<div class="sample-content">

```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
    }
  ]
}
```

</div>
</div>

<h2>Response Information</h2>

<h3>Resource Description</h3>

<p></p>

Collection of <a href="/implementer-guide/apis/rest-api/v2/queryparameter">QueryParameter</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Name</td>
<td class="parameter-documentation">
<p>No documentation available.</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">DbType</td>
<td class="parameter-documentation">
<p>No documentation available.</p>
</td>
<td class="parameter-type">
<a href="/implementer-guide/apis/rest-api/v2/system.data.dbtype">System.Data.DbType</a>

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
</tbody>
</table>

<h3>Response Formats</h3>
<div>
<h4 class="sample-header">application/json, text/json</h4>
<div class="sample-content">

<p>Sample not available.</p>
</div>
</div>
</div>
