[restReporting]

Settings for the REST Reporting API.

[restReporting] dpGetPeriodCount

Type
int
Default
0
Range
int

The endpoint "/reporting/Dps" can be used to query multiple data points

dpGetPeriodCount specifies the number of data point values that should be read out before the "from" and after the "to" time.

[restReporting] enabled

Type
int
Default
0
Range
0|1

The REST Reporting API is integrated into the Standard web server and can be activated via the config entry enabled in the [restReporting] section.

[restReporting] jsonCompact

Type
bool
Default
0
Range
0|1

If you set the config entry to 1, the JSON of the endpoints "/reporting/Dps" and "/reporting/DpNames" will be returned in a compressed format (output on one line), not "human readable", but slightly less network traffic. The default value is 0.

[restReporting] verifyDpExistence

Type
bool
Default
0
Range
0|1

If you set this config entry to 1, the "/reporting/Dps" endpoint checks if all provided DPs exist or not before the query. If one of them does not exist, a "JSON error object" will be returned instead of a "JSON data point object":

{"errorText": "description of the error occurred"}

If you set the config entry to 0 (default), a "data point does not exist" error is returned.