/reporting/GetVersion

"/reporting/GetVersion"
The "/reporting/GetVersion" endpoint returns API version and history information.
Note: If you call this endpoint with "enabled = 1" and get a 404 error, it means that you are using the REST Reporting API v1.0.

Example with the version 2.0

Request:

https://HOST:443/reporting/GetVersion 

Response:

{
  "major": 2, // Current REST Reporting API major version number
  "minor": 0, // Current REST Reporting API minor version number
  "versionHistory": [ // Version history containing information about supported endpoints and short description for each API version
    /* newer versions here... */
    {
      "version": "1.0", // REST Reporting API minor version number (major.minor)
      "oaVersion": "3.19", // WinCC OA version
      "supportedEndpoints": [ // list of supported endpoints
        {
          "name": "JustAnExample", // name of endpoint
          "formatInfo": "Short description of the endpoint"
        }
        /*, other endpoints */
      ]
    }
  ]
}

Example with the version 1.0 - 1.1

Request:
https://HOST:443/reporting/GetVersion 

Response:

{ "major": 1, "minor": 1 }