@v-yuezhe-msft
Thanks for your reply. I looked into it and try to apply it on my case, but unfortunately, I can't make it work. Any idea where I'm making a mistake?
My starting query is:
Source = OData.Feed(“https://dummy.com/API/Dsl/v1/Attributes(ElementId=”
& GUID & “,%20Name=’TimeSeriesValue’)/RetrieveValuesTimeSliced(Start=”
& StartTime &“,End=”& EndTime &“,TimeSpan=’PT10M’)”)
Here's how I tried to convert it (option 1):
Source = OData.Feed(“https://dummy.com/API/Dsl/v1/Attributes(ElementId=”, [Query = [GUID], RelativePath = “,%20Name=’TimeSeriesValue’)/RetrieveValuesTimeSliced(Start=”, Query = [StartTime], RelativePath=”,End=”, Query = [EndTime], RelativePath=”,TimeSpan=’PT10M’)”])
This is the option 2:
Source = OData.Feed(“https://dummy.com/API/Dsl/v1/Attributes(ElementId=”, [Query = [GUID,StartTime,EndTime], RelativePath = [“,%20Name=’TimeSeriesValue’)/RetrieveValuesTimeSliced(Start=”,”,End=”,”,TimeSpan=’PT10M’)”]])
Really appreaciate your help!