POST api/reportserver/v2/dataconnections
Creates a new data connection.
Request Information
URI Parameters
None.
Body Parameters
Data connection model.
CreateDataConnectionDataName | 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
{ "Name": "sample string 1", "Description": "sample string 2", "Provider": "sample string 3", "ConnectionString": "sample string 4" }
Response Information
Resource Description
DataConnectionName | 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, text/json
{ "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Provider": "sample string 4", "ConnectionString": "sample string 5" }