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.
If someone in the community comes across this question during a search for the connection string, note that there is now an easier way to get it.
Every GQI query should be saved as JSON format into a separate file. To get a correctly configured query, you can make use of the DataMiner Dashboards app:
- In the DataMiner Dashboards app, create a dashboard and create a query.
- Visualize this query on the dashboard.
- Open the developer tools (F12) and go to the Network tab.
- Refresh the dashboard and find the OpenQuerySession network call.
- Under payload (or request body), you can copy two values: right-click query: select Copy value and do the same for connection.
Source: DataAggregator | Skyline Docs .
Can anyone help what is wrong in the API request to get connection string?