New to Telerik Report ServerStart a free 30-day trial

POST api/reportserver/v3/data/sql/model

Returns the fields data model for the specified data connection.

Request Information

URI Parameters

None.

Body Parameters

Query with parameters model.

QueryInfoWithParameters

NameDescriptionTypeAdditional information
QueryInfo

No documentation available.

QueryInfo

Required

Parameters

No documentation available.

Collection of QueryInfoParameter

None.

Request body formats

application/json, text/json, application/*+json

json
{
  "QueryInfo": {
    "SelectCommandType": "Text",
    "SelectCommand": "SELECT * FROM Orders",
    "CommandTimeout": 616,
    "Name": "Northwind SQL Connection",
    "Provider": "System.Data.SqlClient",
    "ConnectionString": "Data Source=.;Initial Catalog=Northwind;Integrated Security=True"
  },
  "Parameters": [
    {
      "Name": "CustomerId",
      "Value": 12345,
      "DbType": "Int32"
    },
    {
      "Name": "IsActive",
      "Value": true,
      "DbType": "Boolean"
    }
  ]
}

Response Information

Resource Description

None.

Not finding the help you need?
Contact Support