Hi Team,
I am trying to get connection string through the blow API request.
Method: POST
Request:
POST /api/v1/soap.asmx HTTP/1.1
Host: https://dataminer.tatamediaservices.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 5
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ConnectApp xmlns="https://dataminer.tatamediaservices.com/api/v1">
<host>dataminer.tatamediaservices.com</host>
<login>myusername</login>
<password>mypassword</password>
<clientAppName>dataminer</clientAppName>
<clientAppVersion>9.6.9</clientAppVersion>
<clientComputerName>mycomputername</clientComputerName>
</ConnectApp>
</soap12:Body>
</soap12:Envelope>
As this question has been inactive for a long time, we will now close it. If you want further assistance, feel free to post a new question or contact techsupport@skyline.be.
Hi Jeyaram,
Can you please confirm if you made the required changes to allow external API requests?
In order to make a web API request from an external machine using HTTP POST instead of SOAP, uncomment a section in the web.config file (C:\Skyline DataMiner\Webpages\API).
Hi Ive,
I did uncomment the Protocol section, but still no luck.
After changes in web.config file do we need to restart the DMA agent?
Note: we have 5 active DMA, and public URL pointed to the user DMA. Where I have uncomment the Protocol section in web.config file.
Hi Jeyaram,
You don’t need to restart the DataMiner server to apply the configuration changes.
The changes only need to be made on the server where you perform your API call (the user dma).
Looking at your system in more detail, I notice there is a license restriction.
I’ll reach out through mail for further follow-up.
Hello Ive,
I did restart the dataminer server and you confirmed that you have applied the license file.
But still, I am unable to get connection ID, getting same response.
Can you please help?
Can anyone help what is wrong in the API request to get connection string?