The Get Collector Status API

Using the Get Collector Status API, you can view the status of a collector.
METHOD GET
URI
https://<historianservername>/historian-rest-api/v1/collector/status/{interfaceName}
SAMPLE GET URI
https://<historianservername>/historian-rest-api/v1/collector/status/RSSERVER2012-02_Simulation
SAMPLE RESPONSE
{
    "ErrorCode": 0,
    "ErrorMessage": "null"
    "Data":{
        "Status":"Running"
    }
}
SAMPLE cURL COMMAND
curl -i -H "Accept: application/json" -H "Authorization: Bearer <TOKEN> 
https://<historianservername>/historian-rest-api/v1/collector/status/RSSERVER2012-02_Simulation

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 status of the collector.