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 QUERY PARAM GET URL
https://<historianservername>/historian-rest-api/v1/collector/version/?interfaceName=<source server>_<type of the collector>_<destination server>
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.