Hi Team,
I am trying to call create datasource API method and I am using postman for the same. Please find the details below -
Url used - https://syncfusionreportserver.ftmaintenance.net/api/v2.0/reports/data-sources
Request -
{
"Name":"DDS",
"Description":"",
"DataSourceDefinition":{
"ConnectString":"Data Source=WIN-O10PR71H7SE\\FTMAINTENANCEDB;Initial Catalog=Maintman",
"CredentialRetrieval":"None",
"ImpersonateUser":true,
"Password":"somevalue",
"Prompt":"None",
"UserName":"somevalue",
"WindowsCredentials":false,
"ServerType":"SQL"
}
}
Body -
{
"Message": "Connection string is empty.",
"StatusCode": 3008
}
Headers-