Query Tag History data from external system

I am wondering what is the best/most efficient way to query for tag history data from an external system.
I have determined that the underlying SQL data tables are tricky because they segment Monthly or based on whatever policy you set. Its also not straightforward how the TagIDs join to the tag names, with some nulls values, so its not immediately obvious that building your own SQL select statement on the underlying sql tables is optimal.
Is there a web-services API for querying tag history?

No, but rolling your own with the WebDev module shouldn't be too difficult.

True, unfortunately that comes with a license cost. IA should consider removing license cost from WebDev

Don't hold your breath.

Nothing keeping from writing your own module, if you don't want to pay the cost of the License. Or writing the queries required to span partitions. Both of those options are free (from the perspective of IA).

1 Like