POST api/reportserver/dataconnections

Creates a new data connection.

Request Information

URI Parameters

None.

Body Parameters

Data connection model.

CreateDataConnectionData
NameDescriptionTypeAdditional 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

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Provider": "sample string 3",
  "ConnectionString": "sample string 4"
}

Response Information

Resource Description

The ID of the new data connection.

string
NameDescriptionTypeAdditional information

Response Formats

application/json, text/json

Sample:
"sample string 1"
In this article
Not finding the help you need?