The Get Collector Version API

Using the Get Collector Version API, you can view the version number of a collector.
METHOD GET
URI
https://<historianservername>/historian-rest-api/v1/collector/version/{interfaceName}
SAMPLE PATH PARAM GET URI
https://<historianservername>/v1/collector/version/RSSERVER2012-02_Simulation
SAMPLE QUERY PARAM GET URL
https://<historianservername>/v1/collector/version/?interfaceName= RSSERVER2012-02_Simulation
SAMPLE RESPONSE
{
    "ErrorCode": 0,
    "ErrorMessage": null,
    "Data": {
        "Version": "8.1.2068.0"
    }
}
SAMPLE cURL COMMAND
curl -i -H "Accept: application/json" -H "Authorization: Bearer <TOKEN> http://<historianservername>/historian-rest-api/v1/collector/version/RSSERVER2012-02_Simulation

Query Parameters

Parameter Description Required? Values
interfaceName The interface name of the collector. Yes String

Response Parameters

Parameter Data Type Required? Description
ErrorCode Integer Yes For example, ErrorCode = 0 implies the operation was successful.
ErrorMessage String Yes For example, NULL.
Data String Yes Returns the version of the collector.