How can i add Instances dynamically in our Hierarchy in Time series Insight Gen2

Mohammad Talib 1 Reputation point
2021-01-20T11:57:39.007+00:00

I have Two hierarchy in our TSI Gen2 Model 1. TwinWorxModel 2. NFEC and i have number of instances in our Instance Model so i want add all the instances in our Hierarchy but not manually one by one from TSI Explorer.

I want to add this dynamically in our Hierarchy like i have two Hierarchy 1. TwinWorxModel 2. NFEC. Suppose 20 intances is for TwinWorxModel and 20 intances is for NFEC, so how can i do this pls help

for more concern pls support through me via Email: removed - PII data

Azure Time Series Insights
Azure Time Series Insights
An Azure internet of things (IoT) analytics platform to monitor, analyze, and visualize industrial IoT analytics data at scale.
78 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Radhakrishnan Srinivasan 31 Reputation points Microsoft Employee
    2021-01-22T01:13:16.69+00:00

    Hi @Mohammad Talib ,
    By saying "Dynamically", I am assuming that you would like to assign hierarchies programmatically using TSI APIs.
    if that's the case, could you please the documentation and examples in here
    https://learn.microsoft.com/en-us/rest/api/time-series-insights/reference-model-apis#hierarchies-api
    https://learn.microsoft.com/en-us/rest/api/time-series-insights/dataaccessgen2/timeserieshierarchies/executebatch#hierarchiesbatchput