openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 101 kB
JSON
{"openapi":"3.0.0","info":{"description":"Time Series Insights environment data plane client for PAYG (Preview L1 SKU) environments.","title":"TimeSeriesInsightsClient","version":"2018-11-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/timeseriesinsights/data-plane/Microsoft.TimeSeriesInsights/preview/2018-11-01-preview/timeseriesinsights.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"timeseriesinsights","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/availability":{"get":{"description":"Returns the time range and distribution of event count over the event timestamp ($ts). This API can be used to provide landing experience of navigating to the environment.","operationId":"Query_GetAvailability","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/StoreType"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"},"example":"0d59d156-2807-4952-87bb-0e074417dbfb"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityResponse"},"examples":{"AvailabilityGet":{"$ref":"#/components/examples/AvailabilityGet"},"AvailabilityGetEmpty":{"$ref":"#/components/examples/AvailabilityGetEmpty"},"ColdStoreAvailabilityGet":{"$ref":"#/components/examples/ColdStoreAvailabilityGet"},"WarmStoreAvailabilityGet":{"$ref":"#/components/examples/WarmStoreAvailabilityGet"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["Query"]}},"/eventSchema":{"post":{"description":"Returns environment event schema for a given search span. Event schema is a set of property definitions. Event schema may not be contain all persisted properties when there are too many properties.","operationId":"Query_GetEventSchema","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/StoreType"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEventSchemaRequest"}}},"description":"Parameters to get event schema.","required":true},"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSchema"},"examples":{"ColdStoreEventSchemaGet":{"$ref":"#/components/examples/ColdStoreEventSchemaGet"},"EventSchemaGet":{"$ref":"#/components/examples/EventSchemaGet"},"EventSchemaGetEmpty":{"$ref":"#/components/examples/EventSchemaGetEmpty"},"WarmStoreEventSchemaGet":{"$ref":"#/components/examples/WarmStoreEventSchemaGet"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["Query"]}},"/timeseries/hierarchies":{"get":{"description":"Returns time series hierarchies definitions in pages.","operationId":"TimeSeriesHierarchies_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ContinuationToken"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetHierarchiesPage"},"examples":{"HierarchiesGetPage1":{"$ref":"#/components/examples/HierarchiesGetPage1"},"HierarchiesGetPage2":{"$ref":"#/components/examples/HierarchiesGetPage2"},"HierarchiesGetPage3":{"$ref":"#/components/examples/HierarchiesGetPage3"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesHierarchies"]}},"/timeseries/hierarchies/$batch":{"post":{"description":"Executes a batch get, create, update, delete operation on multiple time series hierarchy definitions.","operationId":"TimeSeriesHierarchies_ExecuteBatch","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HierarchiesBatchRequest"}}},"description":"Time series hierarchies batch request body.","required":true},"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HierarchiesBatchResponse"},"examples":{"HierarchiesBatchDeleteByIds":{"$ref":"#/components/examples/HierarchiesBatchDeleteByIds"},"HierarchiesBatchDeleteByNames":{"$ref":"#/components/examples/HierarchiesBatchDeleteByNames"},"HierarchiesBatchGetByIds":{"$ref":"#/components/examples/HierarchiesBatchGetByIds"},"HierarchiesBatchGetByNames":{"$ref":"#/components/examples/HierarchiesBatchGetByNames"},"HierarchiesBatchPut":{"$ref":"#/components/examples/HierarchiesBatchPut"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesHierarchies"]}},"/timeseries/instances":{"get":{"description":"Gets time series instances in pages.","operationId":"TimeSeriesInstances_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ContinuationToken"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInstancesPage"},"examples":{"InstancesGetPage1":{"$ref":"#/components/examples/InstancesGetPage1"},"InstancesGetPage2":{"$ref":"#/components/examples/InstancesGetPage2"},"InstancesGetPage3":{"$ref":"#/components/examples/InstancesGetPage3"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesInstances"]}},"/timeseries/instances/$batch":{"post":{"description":"Executes a batch get, create, update, delete operation on multiple time series instances.","operationId":"TimeSeriesInstances_ExecuteBatch","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesBatchRequest"}}},"description":"Time series instances suggest request body.","required":true},"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesBatchResponse"},"examples":{"InstancesBatchDeleteByIds":{"$ref":"#/components/examples/InstancesBatchDeleteByIds"},"InstancesBatchDeleteByNames":{"$ref":"#/components/examples/InstancesBatchDeleteByNames"},"InstancesBatchGetByIds":{"$ref":"#/components/examples/InstancesBatchGetByIds"},"InstancesBatchGetByNames":{"$ref":"#/components/examples/InstancesBatchGetByNames"},"InstancesBatchPut":{"$ref":"#/components/examples/InstancesBatchPut"},"InstancesBatchUpdate":{"$ref":"#/components/examples/InstancesBatchUpdate"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesInstances"]}},"/timeseries/instances/search":{"post":{"description":"Partial list of hits on search for time series instances based on instance attributes.","operationId":"TimeSeriesInstances_Search","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ContinuationToken"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchInstancesRequest"}}},"description":"Time series instances search request body.","required":true},"responses":{"200":{"description":"Successful search response.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchInstancesResponsePage"},"examples":{"SearchInstancesDefault":{"$ref":"#/components/examples/SearchInstancesDefault"},"SearchInstancesExpandHierarchiesOnly":{"$ref":"#/components/examples/SearchInstancesExpandHierarchiesOnly"},"SearchInstancesHierarchiesDefaultInputPage1":{"$ref":"#/components/examples/SearchInstancesHierarchiesDefaultInputPage1"},"SearchInstancesHierarchiesDefaultInputPage2":{"$ref":"#/components/examples/SearchInstancesHierarchiesDefaultInputPage2"},"SearchInstancesHierarchiesDefaultInputPage3":{"$ref":"#/components/examples/SearchInstancesHierarchiesDefaultInputPage3"},"SearchInstancesOneLevel":{"$ref":"#/components/examples/SearchInstancesOneLevel"},"SearchInstancesRecursive":{"$ref":"#/components/examples/SearchInstancesRecursive"},"SearchInstancesUntilChildren":{"$ref":"#/components/examples/SearchInstancesUntilChildren"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesInstances"]}},"/timeseries/instances/suggest":{"post":{"description":"Suggests keywords based on time series instance attributes to be later used in Search Instances.","operationId":"TimeSeriesInstances_Suggest","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesSuggestRequest"}}},"description":"Time series instances suggest request body.","required":true},"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InstancesSuggestResponse"},"examples":{"InstancesSuggest":{"$ref":"#/components/examples/InstancesSuggest"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesInstances"]}},"/timeseries/modelSettings":{"get":{"description":"Returns the model settings which includes model display name, Time Series ID properties and default type ID. Every pay-as-you-go environment has a model that is automatically created.","operationId":"ModelSettings_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSettingsResponse"},"examples":{"ModelSettingsGet":{"$ref":"#/components/examples/ModelSettingsGet"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["ModelSettings"]},"patch":{"description":"Updates time series model settings - either the model name or default type ID.","operationId":"ModelSettings_Update","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateModelSettingsRequest"}}},"description":"Model settings update request body.","required":true},"responses":{"200":{"description":"Successful operation returns new full model settings.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelSettingsResponse"},"examples":{"ModelSettingsUpdateName":{"$ref":"#/components/examples/ModelSettingsUpdateName"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["ModelSettings"]}},"/timeseries/query":{"post":{"description":"Executes Time Series Query in pages of results - Get Events, Get Series or Aggregate Series.","operationId":"Query_Execute","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/StoreType"},{"$ref":"#/components/parameters/ContinuationToken"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequest"}}},"description":"Time series query request body.","required":true},"responses":{"200":{"description":"Successful query.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryResultPage"},"examples":{"ColdStoreQueryAggregateSeriesPage1":{"$ref":"#/components/examples/ColdStoreQueryAggregateSeriesPage1"},"ColdStoreQueryAggregateSeriesPage2":{"$ref":"#/components/examples/ColdStoreQueryAggregateSeriesPage2"},"ColdStoreQueryGetEventsPage1":{"$ref":"#/components/examples/ColdStoreQueryGetEventsPage1"},"ColdStoreQueryGetEventsPage2":{"$ref":"#/components/examples/ColdStoreQueryGetEventsPage2"},"ColdStoreQueryGetEventsPage3":{"$ref":"#/components/examples/ColdStoreQueryGetEventsPage3"},"ColdStoreQueryGetEventsPage4":{"$ref":"#/components/examples/ColdStoreQueryGetEventsPage4"},"ColdStoreQueryGetSeriesPage1":{"$ref":"#/components/examples/ColdStoreQueryGetSeriesPage1"},"ColdStoreQueryGetSeriesPage2":{"$ref":"#/components/examples/ColdStoreQueryGetSeriesPage2"},"ColdStoreQueryGetSeriesPage3":{"$ref":"#/components/examples/ColdStoreQueryGetSeriesPage3"},"QueryAggregateSeriesPage1":{"$ref":"#/components/examples/QueryAggregateSeriesPage1"},"QueryAggregateSeriesPage2":{"$ref":"#/components/examples/QueryAggregateSeriesPage2"},"QueryAggregateSeriesWithCategoricalInterpolatedVariable":{"$ref":"#/components/examples/QueryAggregateSeriesWithCategoricalInterpolatedVariable"},"QueryAggregateSeriesWithCategoricalVariable":{"$ref":"#/components/examples/QueryAggregateSeriesWithCategoricalVariable"},"QueryAggregateSeriesWithSampleInterpolation":{"$ref":"#/components/examples/QueryAggregateSeriesWithSampleInterpolation"},"QueryGetEventsPage1":{"$ref":"#/components/examples/QueryGetEventsPage1"},"QueryGetEventsPage2":{"$ref":"#/components/examples/QueryGetEventsPage2"},"QueryGetEventsPage3":{"$ref":"#/components/examples/QueryGetEventsPage3"},"QueryGetEventsPage4":{"$ref":"#/components/examples/QueryGetEventsPage4"},"QueryGetEventsWithTakePage1":{"$ref":"#/components/examples/QueryGetEventsWithTakePage1"},"QueryGetEventsWithTakePage2":{"$ref":"#/components/examples/QueryGetEventsWithTakePage2"},"QueryGetSeriesPage1":{"$ref":"#/components/examples/QueryGetSeriesPage1"},"QueryGetSeriesPage2":{"$ref":"#/components/examples/QueryGetSeriesPage2"},"QueryGetSeriesPage3":{"$ref":"#/components/examples/QueryGetSeriesPage3"},"QueryGetSeriesWithTakePage1":{"$ref":"#/components/examples/QueryGetSeriesWithTakePage1"},"QueryGetSeriesWithTakePage2":{"$ref":"#/components/examples/QueryGetSeriesWithTakePage2"},"WarmStoreQueryAggregateSeriesPage":{"$ref":"#/components/examples/WarmStoreQueryAggregateSeriesPage"},"WarmStoreQueryGetEventsPage1":{"$ref":"#/components/examples/WarmStoreQueryGetEventsPage1"},"WarmStoreQueryGetEventsPage2":{"$ref":"#/components/examples/WarmStoreQueryGetEventsPage2"},"WarmStoreQueryGetEventsPage3":{"$ref":"#/components/examples/WarmStoreQueryGetEventsPage3"},"WarmStoreQueryGetEventsPage4":{"$ref":"#/components/examples/WarmStoreQueryGetEventsPage4"},"WarmStoreQueryGetSeriesPage1":{"$ref":"#/components/examples/WarmStoreQueryGetSeriesPage1"},"WarmStoreQueryGetSeriesPage2":{"$ref":"#/components/examples/WarmStoreQueryGetSeriesPage2"},"WarmStoreQueryGetSeriesPage3":{"$ref":"#/components/examples/WarmStoreQueryGetSeriesPage3"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["Query"]}},"/timeseries/types":{"get":{"description":"Gets time series types in pages.","operationId":"TimeSeriesTypes_Get","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ContinuationToken"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTypesPage"},"examples":{"TypesGetPage1":{"$ref":"#/components/examples/TypesGetPage1"},"TypesGetPage2":{"$ref":"#/components/examples/TypesGetPage2"},"TypesGetPage3":{"$ref":"#/components/examples/TypesGetPage3"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesTypes"]}},"/timeseries/types/$batch":{"post":{"description":"Executes a batch get, create, update, delete operation on multiple time series types.","operationId":"TimeSeriesTypes_ExecuteBatch","parameters":[{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ClientRequestId"},{"$ref":"#/components/parameters/ClientSessionId"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesBatchRequest"}}},"description":"Time series types batch request body.","required":true},"responses":{"200":{"description":"Successful operation.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TypesBatchResponse"},"examples":{"TypesBatchDeleteByIds":{"$ref":"#/components/examples/TypesBatchDeleteByIds"},"TypesBatchDeleteByNames":{"$ref":"#/components/examples/TypesBatchDeleteByNames"},"TypesBatchGetByIds":{"$ref":"#/components/examples/TypesBatchGetByIds"},"TypesBatchGetByNames":{"$ref":"#/components/examples/TypesBatchGetByNames"},"TypesBatchPut":{"$ref":"#/components/examples/TypesBatchPut"}}}}},"default":{"description":"Unexpected error.","headers":{"x-ms-request-id":{"description":"Server-generated request ID. Can be used to contact support to investigate a request.","x-ms-client-name":"serverRequestId","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TsiError"}}}}},"tags":["TimeSeriesTypes"]}}},"servers":[{"url":"https://azure.local"},{"url":"https://{environmentFqdn}","variables":{"environmentFqdn":{"description":"Per environment FQDN, for example 10000000-0000-0000-0000-100000000109.env.timeseries.azure.com. You can obtain this domain name from the response of the Get Environments API, Azure portal, or Azure Resource Manager.","x-ms-parameter-location":"client","x-ms-skip-url-encoding":true,"default":"none"}}}],"components":{"examples":{"AvailabilityGet":{"value":{"availability":{"distribution":{"2019-03-26T13:00:00Z":386247,"2019-03-27T00:00:00Z":436968,"2019-03-27T01:00:00Z":432509,"2019-03-27T02:00:00Z":432487,"2019-03-27T04:00:00Z":432447,"2019-03-27T05:00:00Z":432340,"2019-03-27T06:00:00Z":432451,"2019-03-27T07:00:00Z":432436},"intervalSize":"PT1H","range":{"from":"2019-03-14T06:38:27.153Z","to":"2019-03-27T03:57:11.697Z"}}}},"AvailabilityGetEmpty":{"value":{}},"ColdStoreAvailabilityGet":{"value":{"availability":{"distribution":{"2019-03-26T13:00:00Z":386247,"2019-03-27T00:00:00Z":436968,"2019-03-27T01:00:00Z":432509,"2019-03-27T02:00:00Z":432487,"2019-03-27T04:00:00Z":432447,"2019-03-27T05:00:00Z":432340,"2019-03-27T06:00:00Z":432451,"2019-03-27T07:00:00Z":432436},"intervalSize":"PT1H","range":{"from":"2019-03-14T06:38:27.153Z","to":"2019-03-27T03:57:11.697Z"}}}},"WarmStoreAvailabilityGet":{"value":{"availability":{"distribution":{"2019-03-26T13:00:00Z":386247,"2019-03-27T00:00:00Z":436968,"2019-03-27T01:00:00Z":432509,"2019-03-27T02:00:00Z":432487,"2019-03-27T04:00:00Z":432447,"2019-03-27T05:00:00Z":432340,"2019-03-27T06:00:00Z":432451,"2019-03-27T07:00:00Z":432436},"intervalSize":"PT1H","range":{"from":"2019-03-14T06:38:27.153Z","to":"2019-03-27T03:57:11.697Z"}}}},"ColdStoreEventSchemaGet":{"value":{"properties":[{"name":"Building","type":"String"},{"name":"Room","type":"String"},{"name":"DeviceId","type":"Double"},{"name":"Temperature","type":"Double"},{"name":"Pressure","type":"Double"},{"name":"Status","type":"String"}]}},"EventSchemaGet":{"value":{"properties":[{"name":"Building","type":"String"},{"name":"Room","type":"String"},{"name":"DeviceId","type":"Double"},{"name":"Temperature","type":"Double"},{"name":"Pressure","type":"Double"},{"name":"Status","type":"String"}]}},"EventSchemaGetEmpty":{"value":{"properties":[]}},"WarmStoreEventSchemaGet":{"value":{"properties":[{"name":"Building","type":"String"},{"name":"Room","type":"String"},{"name":"DeviceId","type":"Double"},{"name":"Temperature","type":"Double"},{"name":"Pressure","type":"Double"},{"name":"Status","type":"String"}]}},"HierarchiesGetPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","hierarchies":[{"id":"6e292e54-9a26-4be1-9034-607d71492707","name":"Location","source":{"instanceFieldNames":["state","city"]}}]}},"HierarchiesGetPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0=","hierarchies":[{"id":"6e292e54-9a26-4be1-9034-607d71492707","name":"Location","source":{"instanceFieldNames":["state","city"]}}]}},"HierarchiesGetPage3":{"value":{"hierarchies":[]}},"HierarchiesBatchDeleteByIds":{"value":{"delete":[null]}},"HierarchiesBatchDeleteByNames":{"value":{"delete":[null]}},"HierarchiesBatchGetByIds":{"value":{"get":[{"hierarchy":{"id":"6e292e54-9a26-4be1-9034-607d71492707","name":"Location","source":{"instanceFieldNames":["state","city"]}}},{"hierarchy":{"id":"a28fd14c-6b98-4ab5-9301-3840f142d30e","name":"ManufactureDate","source":{"instanceFieldNames":["year","month"]}}}]}},"HierarchiesBatchGetByNames":{"value":{"get":[{"hierarchy":{"id":"6e292e54-9a26-4be1-9034-607d71492707","name":"Location","source":{"instanceFieldNames":["state","city"]}}},{"hierarchy":{"id":"a28fd14c-6b98-4ab5-9301-3840f142d30e","name":"ManufactureDate","source":{"instanceFieldNames":["year","month"]}}}]}},"HierarchiesBatchPut":{"value":{"put":[{"hierarchy":{"id":"6e292e54-9a26-4be1-9034-607d71492707","name":"Location","source":{"instanceFieldNames":["state","city"]}}},{"hierarchy":{"id":"a28fd14c-6b98-4ab5-9301-3840f142d30e","name":"ManufactureDate","source":{"instanceFieldNames":["year","month"]}}}]}},"InstancesGetPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","instances":[{"description":"ContosoFarm1W7_GenSpeed1","hierarchyIds":["33d72529-dd73-4c31-93d8-ae4e6cb5605d"],"instanceFields":{"Name":"GeneratorSpeed","Plant":"Contoso Plant 1","System":"Generator System","Unit":"W7"},"name":"F1W7.GS1","timeSeriesId":["006dfc2d-0324-4937-998c-d16f3b4f1952","T1"],"typeId":"9b84e946-7b36-4aa0-9d26-71bf48cb2aff"}]}},"InstancesGetPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0=","instances":[{"description":"ContosoFarm1W6_GridVoltage3","hierarchyIds":["33d72529-dd73-4c31-93d8-ae4e6cb5605d"],"instanceFields":{"Name":"GridVoltagePhase3","Plant":"Contoso Plant 1","System":"Generator System","Unit":"W6"},"timeSeriesId":["fe984fd0-f632-49ab-990e-3ded259e29b8","T1"],"typeId":"9b84e946-7b36-4aa0-9d26-71bf48cb2aff"}]}},"InstancesGetPage3":{"value":{"instances":[]}},"InstancesBatchDeleteByIds":{"value":{"delete":[null,{"code":"InvalidInput","innerError":{"code":"CannotDeleteInstance"},"message":"Time series instance with ID '[\"18672e3d-2beb-4007-9846-042b09ef3c72\", \"T2\"]' cannot be deleted. There are already ingested events associated with this time series ID."}]}},"InstancesBatchDeleteByNames":{"value":{"delete":[null,{"code":"InvalidInput","innerError":{"code":"CannotDeleteInstance"},"message":"Time series instance with ID '[\"18672e3d-2beb-4007-9846-042b09ef3c72\", \"T2\"]' cannot be deleted. There are already ingested events associated with this time series ID."}]}},"InstancesBatchGetByIds":{"value":{"get":[{"instance":{"description":"ContosoFarm1W7_GenSpeed1","hierarchyIds":["33d72529-dd73-4c31-93d8-ae4e6cb5605d"],"instanceFields":{"Name":"GeneratorSpeed","Plant":"Contoso Plant 1","System":"Generator System","Unit":"W7"},"name":"F1W7.GS1","timeSeriesId":["006dfc2d-0324-4937-998c-d16f3b4f1952","T1"],"typeId":"9b84e946-7b36-4aa0-9d26-71bf48cb2aff"}}]}},"InstancesBatchGetByNames":{"value":{"get":[{"instance":{"description":"ContosoFarm1W7_GenSpeed1","hierarchyIds":["33d72529-dd73-4c31-93d8-ae4e6cb5605d"],"instanceFields":{"Name":"GeneratorSpeed","Plant":"Contoso Plant 1","System":"Generator System","Unit":"W7"},"name":"F1W7.GS1","timeSeriesId":["006dfc2d-0324-4937-998c-d16f3b4f1952","T1"],"typeId":"9b84e946-7b36-4aa0-9d26-71bf48cb2aff"}}]}},"InstancesBatchPut":{"value":{"put":[{}]}},"InstancesBatchUpdate":{"value":{"update":[{}]}},"SearchInstancesDefault":{"value":{"instances":{"hitCount":2,"hits":[{"hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"name":"instance1","timeSeriesId":["Id1One","Id2One","1.0"],"typeId":"1be09af9-f089-4d6b-9f0b-48018b5f7393"},{"hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"name":"instance2","timeSeriesId":["Id1Two","Id2Two","2.0"],"typeId":"1be09af9-f089-4d6b-9f0b-48018b5f7393"}]}}},"SearchInstancesExpandHierarchiesOnly":{"value":{"hierarchyNodes":{"hitCount":1,"hits":[{"cumulativeInstanceCount":2,"hierarchyNodes":{"hitCount":2,"hits":[{"cumulativeInstanceCount":1,"name":"San Diego"},{"cumulativeInstanceCount":1,"name":"San Francisco"}]},"name":"California"}]},"instances":{"hitCount":0,"hits":[]}}},"SearchInstancesHierarchiesDefaultInputPage1":{"value":{"hierarchyNodes":{"hitCount":1,"hits":[{"cumulativeInstanceCount":2,"hierarchyNodes":{"hitCount":1,"hits":[{"cumulativeInstanceCount":2,"hierarchyNodes":{"continuationToken":"aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=","hitCount":2,"hits":[{"cumulativeInstanceCount":1,"name":"San Francisco"}]},"name":"California"}]},"name":"Location"}]},"instances":{"continuationToken":"c3sic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNTE3MDUxOTg0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=","hitCount":2,"hits":[{"hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"highlights":{"description":"<hit>floor</hit> <hit>100</hit>","hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"hierarchyNames":["Location"],"instanceFieldNames":["state","city"],"instanceFieldValues":["California","San Francisco"],"name":"instance2","timeSeriesId":["Id1Two","Id2Two","2.0"],"typeName":"DefaultType"},"name":"instance2","timeSeriesId":["Id1Two","Id2Two","2.0"],"typeId":"1be09af9-f089-4d6b-9f0b-48018b5f7393"}]}}},"SearchInstancesHierarchiesDefaultInputPage2":{"value":{"instances":{"hitCount":2,"hits":[{"hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"highlights":{"description":"<hit>floor</hit> <hit>100</hit>","hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"hierarchyNames":["Location"],"instanceFieldNames":["state","city"],"instanceFieldValues":["California","Los Angeles"],"name":"instance1","timeSeriesId":["Id1One","Id2One","1.0"],"typeName":"DefaultType"},"name":"instance1","timeSeriesId":["Id1One","Id2One","1.0"],"typeId":"1be09af9-f089-4d6b-9f0b-48018b5f7393"}]}}},"SearchInstancesHierarchiesDefaultInputPage3":{"value":{"hierarchyNodes":{"hitCount":1,"hits":[{"cumulativeInstanceCount":2,"hierarchyNodes":{"hitCount":1,"hits":[{"cumulativeInstanceCount":2,"hierarchyNodes":{"continuationToken":"aHsic2tpcCI6MiwidGFrZSI6MiwicmVxdWVzdEhhc2hDb2RlIjotNzA4NTgyODU0LCJlbnZpcm9ubWVudElkIjoiYmY0M2YxMzMtM2Y2OC00ZWMwLWJjYjQtZmQ2NDUzMGU0MjU2In0=","hitCount":2,"hits":[{"cumulativeInstanceCount":1,"name":"San Diego"}]},"name":"California"}]},"name":"Location"}]}}},"SearchInstancesOneLevel":{"value":{"hierarchyNodes":{"hitCount":1,"hits":[{"cumulativeInstanceCount":2,"name":"Location"}]},"instances":{"hitCount":0,"hits":[]}}},"SearchInstancesRecursive":{"value":{"instances":{"hitCount":2,"hits":[{"hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"name":"instance1","timeSeriesId":["Id1One","Id2One","1.0"],"typeId":"1be09af9-f089-4d6b-9f0b-48018b5f7393"},{"hierarchyIds":["1643004c-0a84-48a5-80e5-7688c5ae9295"],"name":"instance2","timeSeriesId":["Id1Two","Id2Two","2.0"],"typeId":"1be09af9-f089-4d6b-9f0b-48018b5f7393"}]}}},"SearchInstancesUntilChildren":{"value":{"hierarchyNodes":{"hitCount":1,"hits":[{"cumulativeInstanceCount":2,"hierarchyNodes":{"hitCount":2,"hits":[{"cumulativeInstanceCount":1,"name":"San Diego"},{"cumulativeInstanceCount":1,"name":"San Francisco"}]},"name":"California"}]},"instances":{"hitCount":0,"hits":[]}}},"InstancesSuggest":{"value":{"suggestions":[{"highlightedSearchString":"<hit>flo</hit>or 100","searchString":"floor 100"},{"highlightedSearchString":"sensor on <hit>flo</hit>or 0","searchString":"sensor on floor 0"},{"highlightedSearchString":"sensor on <hit>flo</hit>or 1","searchString":"sensor on floor 1"}]}},"ModelSettingsGet":{"value":{"modelSettings":{"defaultTypeId":"5AB70D71-A8CD-410E-B70D-6F04AB9C132C","name":"DefaultModel","timeSeriesIdProperties":[{"name":"DeviceId","type":"String"}]}}},"ModelSettingsUpdateName":{"value":{"modelSettings":{"defaultTypeId":"5AB70D71-A8CD-410E-B70D-6F04AB9C132C","name":"Thermostats","timeSeriesIdProperties":[{"name":"DeviceId","type":"String"}]}}},"ColdStoreQueryAggregateSeriesPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"ColdStoreQueryAggregateSeriesPage2":{"value":{"progress":100,"properties":[{"name":"Count","type":"Long","values":[50,60,60,60,60,60,60,60,60,60,null]},{"name":"AverageTemperature","type":"Double","values":[71.25,85,82.5,80,89.16666666666667,75,90,75.83333333333333,85,82.5,null]},{"name":"MinTemperature","type":"Double","values":[65.125,77.625,65.125,72.625,65.125,67.625,82.625,65.125,77.625,65.125,null]},{"name":"MaxTemperature","type":"Double","values":[77.375,92.375,99.875,87.375,99.875,82.375,97.375,99.875,92.375,99.875,null]}],"timestamps":["2016-08-01T00:00:00Z","2016-08-01T00:01:00Z","2016-08-01T00:02:00Z","2016-08-01T00:03:00Z","2016-08-01T00:04:00Z","2016-08-01T00:05:00Z","2016-08-01T00:06:00Z","2016-08-01T00:07:00Z","2016-08-01T00:08:00Z","2016-08-01T00:09:00Z","2016-08-01T00:10:00Z"]}},"ColdStoreQueryGetEventsPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"ColdStoreQueryGetEventsPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"Building","type":"String","values":["Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium"]},{"name":"Temperature","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z"]}},"ColdStoreQueryGetEventsPage3":{"value":{"continuationToken":"aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"Building","type":"String","values":["Millenium"]},{"name":"Temperature","type":"Double","values":[67.575]}],"timestamps":["2016-08-01T00:00:20Z"]}},"ColdStoreQueryGetEventsPage4":{"value":{"progress":100,"properties":[],"timestamps":[]}},"ColdStoreQueryGetSeriesPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"ColdStoreQueryGetSeriesPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"temperatures","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375,67.625]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z","2016-08-01T00:00:20Z"]}},"ColdStoreQueryGetSeriesPage3":{"value":{"progress":100,"properties":[{"name":"temperatures","type":"Double","values":[67.825]}],"timestamps":["2016-08-01T00:00:21Z"]}},"QueryAggregateSeriesPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"QueryAggregateSeriesPage2":{"value":{"progress":100,"properties":[{"name":"Count","type":"Long","values":[50,60,60,60,60,60,60,60,60,60,null]},{"name":"AverageTemperature","type":"Double","values":[71.25,85,82.5,80,89.16666666666667,75,90,75.83333333333333,85,82.5,null]},{"name":"MinTemperature","type":"Double","values":[65.125,77.625,65.125,72.625,65.125,67.625,82.625,65.125,77.625,65.125,null]},{"name":"MaxTemperature","type":"Double","values":[77.375,92.375,99.875,87.375,99.875,82.375,97.375,99.875,92.375,99.875,null]}],"timestamps":["2016-08-01T00:00:00Z","2016-08-01T00:01:00Z","2016-08-01T00:02:00Z","2016-08-01T00:03:00Z","2016-08-01T00:04:00Z","2016-08-01T00:05:00Z","2016-08-01T00:06:00Z","2016-08-01T00:07:00Z","2016-08-01T00:08:00Z","2016-08-01T00:09:00Z","2016-08-01T00:10:00Z"]}},"QueryAggregateSeriesWithCategoricalInterpolatedVariable":{"value":{"progress":100,"properties":[{"name":"Status_String[Good]","type":"Double","values":[0.203,0.141,0.268,0.398,0.402,0.047,0.1245,0.75,0.206,0.2635]},{"name":"Status_String[Bad]","type":"Double","values":[0.266,0.1955,0.242,0.148,0.25,0.055,0.6295,0.109,0.41,0.2125]},{"name":"Status_String[Other]","type":"Double","values":[0.5205,0.6635,0.49,0.454,0.348,0.898,0.246,0.141,0.384,0.524]},{"name":"Status_String[Unknown]","type":"Double","values":[0,0,0,0,0,0,0,0,0,0]},{"name":"Status_Long[Good]","type":"Double","values":[0.203,0.141,0.268,0.398,0.402,0.047,0.1245,0.75,0.206,0.2635]},{"name":"Status_Long[Bad]","type":"Double","values":[0.266,0.1955,0.242,0.148,0.25,0.055,0.6295,0.109,0.41,0.2125]},{"name":"Status_Long[Other]","type":"Double","values":[0.5205,0.6635,0.49,0.454,0.348,0.898,0.246,0.141,0.384,0.524]},{"name":"Status_Long[Unknown]","type":"Double","values":[0,0,0,0,0,0,0,0,0,0]}],"timestamps":["2019-10-10T23:41:04Z","2019-10-10T23:41:06Z","2019-10-10T23:41:08Z","2019-10-10T23:41:10Z","2019-10-10T23:41:12Z","2019-10-10T23:41:14Z","2019-10-10T23:41:16Z","2019-10-10T23:41:18Z","2019-10-10T23:41:20Z","2019-10-10T23:41:22Z"]}},"QueryAggregateSeriesWithCategoricalVariable":{"value":{"progress":100,"properties":[{"name":"Status_String[Good]","type":"Long","values":[5,8,4,6,9,8,3,6,5,8]},{"name":"Status_String[Bad]","type":"Long","values":[4,3,3,5,5,3,9,7,7,7]},{"name":"Status_String[Other]","type":"Long","values":[11,9,13,9,6,9,8,7,8,5]},{"name":"Status_String[Unknown]","type":"Long","values":[0,0,0,0,0,0,0,0,0,0]},{"name":"Status_Long[Good]","type":"Long","values":[5,8,4,6,9,8,3,6,5,8]},{"name":"Status_Long[Bad]","type":"Long","values":[4,3,3,5,5,3,9,7,7,7]},{"name":"Status_Long[Other]","type":"Long","values":[11,9,13,9,6,9,8,7,8,5]},{"name":"Status_Long[Unknown]","type":"Long","values":[0,0,0,0,0,0,0,0,0,0]}],"timestamps":["2019-10-10T23:42:00Z","2019-10-10T23:42:02Z","2019-10-10T23:42:04Z","2019-10-10T23:42:06Z","2019-10-10T23:42:08Z","2019-10-10T23:42:10Z","2019-10-10T23:42:12Z","2019-10-10T23:42:14Z","2019-10-10T23:42:16Z","2019-10-10T23:42:18Z"]}},"QueryAggregateSeriesWithSampleInterpolation":{"value":{"progress":100,"properties":[{"name":"LinearSampleInterpolation","type":"Double","values":[50,60,60,60,60,60,60,60,60,60,62]},{"name":"StepSampleInterpolation","type":"Double","values":[71.25,85,82.5,80,89.16666666666667,75,90,75.83333333333333,85,82.5,84]}],"timestamps":["2016-08-01T00:00:00Z","2016-08-01T00:01:00Z","2016-08-01T00:02:00Z","2016-08-01T00:03:00Z","2016-08-01T00:04:00Z","2016-08-01T00:05:00Z","2016-08-01T00:06:00Z","2016-08-01T00:07:00Z","2016-08-01T00:08:00Z","2016-08-01T00:09:00Z","2016-08-01T00:10:00Z"]}},"QueryGetEventsPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"QueryGetEventsPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"Building","type":"String","values":["Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium"]},{"name":"Temperature","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z"]}},"QueryGetEventsPage3":{"value":{"continuationToken":"aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"Building","type":"String","values":["Millenium"]},{"name":"Temperature","type":"Double","values":[67.575]}],"timestamps":["2016-08-01T00:00:20Z"]}},"QueryGetEventsPage4":{"value":{"progress":100,"properties":[],"timestamps":[]}},"QueryGetEventsWithTakePage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"QueryGetEventsWithTakePage2":{"value":{"progress":100,"properties":[{"name":"Building","type":"String","values":["Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium"]},{"name":"Temperature","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z"]}},"QueryGetSeriesPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"QueryGetSeriesPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"temperatures","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375,67.625]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z","2016-08-01T00:00:20Z"]}},"QueryGetSeriesPage3":{"value":{"progress":100,"properties":[{"name":"temperatures","type":"Double","values":[67.825]}],"timestamps":["2016-08-01T00:00:21Z"]}},"QueryGetSeriesWithTakePage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"QueryGetSeriesWithTakePage2":{"value":{"progress":100,"properties":[{"name":"temperatures","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375,67.625]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z","2016-08-01T00:00:20Z"]}},"WarmStoreQueryAggregateSeriesPage":{"value":{"progress":100,"properties":[{"name":"Count","type":"Long","values":[50,60,60,60,60,60,60,60,60,60,null]},{"name":"AverageTemperature","type":"Double","values":[71.25,85,82.5,80,89.16666666666667,75,90,75.83333333333333,85,82.5,null]},{"name":"MinTemperature","type":"Double","values":[65.125,77.625,65.125,72.625,65.125,67.625,82.625,65.125,77.625,65.125,null]},{"name":"MaxTemperature","type":"Double","values":[77.375,92.375,99.875,87.375,99.875,82.375,97.375,99.875,92.375,99.875,null]}],"timestamps":["2016-08-01T00:00:00Z","2016-08-01T00:01:00Z","2016-08-01T00:02:00Z","2016-08-01T00:03:00Z","2016-08-01T00:04:00Z","2016-08-01T00:05:00Z","2016-08-01T00:06:00Z","2016-08-01T00:07:00Z","2016-08-01T00:08:00Z","2016-08-01T00:09:00Z","2016-08-01T00:10:00Z"]}},"WarmStoreQueryGetEventsPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"WarmStoreQueryGetEventsPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"Building","type":"String","values":["Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium","Millenium"]},{"name":"Temperature","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z"]}},"WarmStoreQueryGetEventsPage3":{"value":{"continuationToken":"aXsic2tpcCI6MTAbCDewidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"Building","type":"String","values":["Millenium"]},{"name":"Temperature","type":"Double","values":[67.575]}],"timestamps":["2016-08-01T00:00:20Z"]}},"WarmStoreQueryGetEventsPage4":{"value":{"progress":100,"properties":[],"timestamps":[]}},"WarmStoreQueryGetSeriesPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","progress":50}},"WarmStoreQueryGetSeriesPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAxYZwidGFrZSI6MTAwMH0=","progress":50,"properties":[{"name":"temperatures","type":"Double","values":[65.125,65.375,65.625,65.875,66.125,66.375,66.625,66.875,67.125,67.375,67.625]}],"timestamps":["2016-08-01T00:00:10Z","2016-08-01T00:00:11Z","2016-08-01T00:00:12Z","2016-08-01T00:00:13Z","2016-08-01T00:00:14Z","2016-08-01T00:00:15Z","2016-08-01T00:00:16Z","2016-08-01T00:00:17Z","2016-08-01T00:00:18Z","2016-08-01T00:00:19Z","2016-08-01T00:00:20Z"]}},"WarmStoreQueryGetSeriesPage3":{"value":{"progress":100,"properties":[{"name":"temperatures","type":"Double","values":[67.825]}],"timestamps":["2016-08-01T00:00:21Z"]}},"TypesGetPage1":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrZSI6MTAwMH0=","types":[{"description":"My Default type","id":"1be09af9-f089-4d6b-9f0b-48018b5f7393","name":"DefaultType","variables":{"EventCount":{"aggregation":{"tsx":"count()"},"kind":"aggregate"}}}]}},"TypesGetPage2":{"value":{"continuationToken":"aXsic2tpcCI6MTAwMCwidGFrASI6MTAwMH0=","types":[{"description":"Wind turbine sensor","id":"9b84e946-7b36-4aa0-9d26-71bf48cb2aff","name":"TurbineSensor","variables":{"Value":{"aggregation":{"tsx":"avg($value)"},"kind":"numeric","value":{"tsx":"$event.value.Double"}}}}]}},"TypesGetPage3":{"value":{"types":[]}},"TypesBatchDeleteByIds":{"value":{"delete":[null]}},"TypesBatchDeleteByNames":{"value":{"delete":[null]}},"TypesBatchGetByIds":{"value":{"get":[{"timeSeriesType":{"description":"Default type","id":"1be09af9-f089-4d6b-9f0b-48018b5f7393","name":"DefaultType","variables":{"EventCount":{"aggregation":{"tsx":"count()"},"kind":"aggregate"}}}},{"timeSeriesType":{"description":"This is a temperature sensor.","id":"c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8","name":"TemperatureSensor","variables":{"AverageTemperature":{"aggregation":{"tsx":"avg($value)"},"kind":"numeric","value":{"tsx":"$event.Temperature.Double"}}}}}]}},"TypesBatchGetByNames":{"value":{"get":[{"timeSeriesType":{"description":"Default type","id":"1be09af9-f089-4d6b-9f0b-48018b5f7393","name":"DefaultType","variables":{"EventCount":{"aggregation":{"tsx":"count()"},"kind":"aggregate"}}}},{"timeSeriesType":{"description":"This is a temperature sensor.","id":"c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8","name":"TemperatureSensor","variables":{"AverageTemperature":{"aggregation":{"tsx":"avg($value)"},"kind":"numeric","value":{"tsx":"$event.Temperature.Double"}}}}}]}},"TypesBatchPut":{"value":{"put":[{"timeSeriesType":{"description":"My Default type","id":"1be09af9-f089-4d6b-9f0b-48018b5f7393","name":"DefaultType","variables":{"EventCount":{"aggregation":{"tsx":"count()"},"kind":"aggregate"}}}},{"timeSeriesType":{"description":"This is an outdoor temperature sensor.","id":"c1cb7a33-ed9b-4cf1-9958-f3162fed8ee8","name":"OutdoorTemperatureSensor","variables":{"AverageTemperature":{"aggregation":{"tsx":"avg($value)"},"filter":{"tsx":"$event.Mode.String = 'outdoor'"},"kind":"numeric","value":{"tsx":"$event.Temperature.Double"}}}}}]}}},"parameters":{"ApiVersion":{"description":"Version of the API to be used with the client request. Currently supported version is \"2018-11-01-preview\".","in":"query","name":"api-version","required":true,"schema":{"type":"string","default":"2018-11-01-preview"},"examples":{"AvailabilityGet":{"value":"2018-11-01-preview"},"AvailabilityGetEmpty":{"value":"2018-11-01-preview"},"ColdStoreAvailabilityGet":{"value":"2018-11-01-preview"},"WarmStoreAvailabilityGet":{"value":"2018-11-01-preview"},"ColdStoreEventSchemaGet":{"value":"2018-11-01-preview"},"EventSchemaGet":{"value":"2018-11-01-preview"},"EventSchemaGetEmpty":{"value":"2018-11-01-preview"},"WarmStoreEventSchemaGet":{"value":"2018-11-01-preview"},"HierarchiesGetPage1":{"valu