The Offline Collectors API

Using the Offline Collectors API, you can view a list of offline collectors.
METHOD GET
URI
https://<historianservername>/historian-rest-api/v1/offlinecollectors
SAMPLE QUERY PARAM GET URL
https://<historianservername>/historian-rest-api/v1/offlinecollectors
SAMPLE RESPONSE
{
"ErrorCode": 0,
"ErrorMessage": null,
"Data": [
{
"Name": "DISTMACHINE1_Cygnet",
"ComputerName": "DISTMACHINE1",
"Status": "Stopped"
},
{
"Name": "NPI212611749M1_Cygnet",
"ComputerName": "NPI212611749M1",
"Status": "Stopped"
},
{
"Name": "NPI212611749M1_Mqtt",
"ComputerName": "NPI212611749M1",
"Status": "Stopped"
}
]
}
SAMPLE cURL COMMAND
curl -i -H "Accept: application/json" -H "Authorization: Bearer <TOKEN>” 
https://<historianservername>/historian-rest-api/v1/offlinecollectors

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.