PowerShell Rest Call - Help Needed

There are so many ways to come at this.

Alternatively you could use @josecgomez rest nuget in visual studio and make a rest call to your baq using c# and then write a foreach loop that runs through the BAQ response and outputs it to a .csv file or xml or whatever. You could pack that up into an executable and then use windows scheduler to run the exe every 15 minutes or whatever to update the file.

Not sure if you are more comfortable with powershell or something in visual studio.

But I haven’t ever done much of any of this. I did use powershell to specify a baq to DMT though which was cool. I am pretty sure there is an example of that in the ice tools book. And I think you had to output the baq to a file. However, this was not using rest.

3 Likes