Query Results API
This API configures query results.
The Query Results API enables you to include the number of samples required, by providing an end point to configure query results.
The minimum number of samples should be 1000.METHOD: | PUT |
URI: | https://<historianservername>:8443/historian-rest-api /v1/datapoints/ configuration/{maxDataQueryResultSize} |
SAMPLE URI: | https://<historianservername>:8443/historian-rest-api /v1/datapoints/ configuration?maxDataQueryResultSize=6000 |
SAMPLE CURL COMMAND: | curl -i -H "Accept: application/json" -H "Authorization: Bearer <TOKEN>https://<nodename>:8443/ historian-rest-api/v1/datapoints/configuration? maxDataQueryResultSize=<Number_Of_Query_Results> |
Query Parameters
Parameter | Description | Required? | Values |
---|---|---|---|
maxDataQueryResultSize | Maximum samples that should be configured as part of Query Results | Yes | Integer |
Sample Response
Maximum DataQueryResultSize set to 6000