Just click into the Authorization tab and set the type to 'Basic Auth'. Then enter the username and password for a user with the 'Remote Data Access' privilege in VTScada.
You may want to add a touch more to your query to get the data you are expecting. Here is an example query I dug up from my history. In this case, I was looking for the records for two tags from the time of my query to the date given, or the latest 100 records in 1s intervals:
https://vtsdemo.trihedral.com/exceldemo/REST/SQLQuery?query=select timestamp,'Liftstations\LS1\Well\Level:Value:Average' AS LS1_Level, 'Liftstations\LS2\Well\Level:Value:Average' AS LS2_Level from history_1S where timestamp > '2021-04-21 12:57:00' limit 100 ORDER BY Timestamp DESC
Just click into the Authorization tab and set the type to 'Basic Auth'. Then enter the username and password for a user with the 'Remote Data Access' privilege in VTScada.
You may want to add a touch more to your query to get the data you are expecting. Here is an example query I dug up from my history. In this case, I was looking for the records for two tags from the time of my query to the date given, or the latest 100 records in 1s intervals:
````
https://vtsdemo.trihedral.com/exceldemo/REST/SQLQuery?query=select timestamp,'Liftstations\LS1\Well\Level:Value:Average' AS LS1_Level, 'Liftstations\LS2\Well\Level:Value:Average' AS LS2_Level from history_1S where timestamp > '2021-04-21 12:57:00' limit 100 ORDER BY Timestamp DESC
````
Trihedral Engineering Ltd.
edited Jul 20 '21 at 3:07 pm