POST api/reportserver/v2/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

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

Sample:
{
  "Id": "sample string 1",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Provider": "sample string 4",
  "ConnectionString": "sample string 5"
}
In this article
Not finding the help you need?