New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v3/data-connections
Creates a new data connection.
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Specifies the data connection name. | string |
Required |
| Description |
Specifies the data connection description. | string |
None. |
| Provider |
Specifies the data connection provider. | string |
Required |
| ConnectionString |
Specifies the data connection connection string. | string |
Required |
Request body formats
application/json, text/json, application/*+json
json
{
"Name": "Northwind Oracle Connection",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"Provider": "System.Data.OracleClient",
"ConnectionString": "Data Source=Northwind;User Id=sa;Password=P@ssw0rd!;"
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Data connection identifier. | string |
Required |
| Name |
Specifies the data connection name. | string |
Required |
| Description |
Specifies the data connection description. | string |
None. |
| Provider |
Specifies the data connection provider. | string |
Required |
| ConnectionString |
Specifies the data connection connection string. | string |
Required |
Response Formats
application/json
json
{
"Id": "088a095908c",
"Name": "Northwind Oracle Connection",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"Provider": "System.Data.OracleClient",
"ConnectionString": "Data Source=Northwind;User Id=sa;Password=P@ssw0rd!;"
}