can i query two time series instances in one request?

Purohit, Aahana 1 Reputation point
2021-01-05T13:20:49.05+00:00
{
    "aggregateSeries": {
        "timeSeriesId": [
            "PickTime",
            "EMP010"
        ],
// further logic

I am trying to query two time series instances in the single request body through postman, it is giving me the below error:

"error": {
        "code": "InvalidInput",
        "message": "Values in a single time series ID '[\"PickTime\",\"EMP010\"]' must match the time series ID properties '[objectId:String]' defined for the environment.",
        "innerError": {
            "code": "TimeSeriesIdValueMismatch"
        }
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
333 questions
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.
75 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,031 Reputation points
    2021-01-05T23:33:37.25+00:00

    Hello @Purohit, Aahana , I don't think we can query two instances at once, as we see the documentation over here.

    Updated: 01/07/2021: PST Redmond.

    Below is the confirmation from my team on this REST API call.

    Currently, we do not support batching of TSIDs in our APIs. Please note, Time Series ID can be a combination of up to 3 properties, but this is done at setup and will be a unique combination. That said be it a single or up to 3 properties, APIs support querying data one Time Series ID at a time.

    Please watch the official documentation page for all future updates.

    Related document to this discussion : AggregateSeries

    53650-image.png

    Please leave a comment in the below section for further help in this matter.

    1 person found this answer helpful.