Returns
JSON formatted list of installed channels:
{"channels": ["C", "D", "2"] }
Example
Browser
https://192.168.123.123/api/getchannellist
Curl
curl -k https://192.168.123.123/api/getchannellist?active
GetChannelDataTypes
API Call
/api/getchanneldatatypes
Summary
Get a list of all valid data types for all installed or enabled channels
Description
This service provides a JSON formatted list of data types for each of the installed channels. This list shows what
data types can be used with the
getdata
API call.
Parameters
Returns
JSON formatted list of installed channels:
{"channels":
[
{"C": {"dataTypes": [ "tie" ]}},
{"D": {"dataTypes": [ "tie" ]}},
{"2": {"dataTypes": [ "tie", "2wayte", "pd", "fwdpdv", "revpdv", "esmc" ]}}
]
}
Example
Browser
https://192.168.123.123/api/getchanneldatatypes?”active&key=3823de38663…”
Curl
curl http://192.168.123.123/api/getchanneldatatypes
GetData
API Call
/api/getdata
Summary
Get measurement data for the specified data type and channel
Description
This service returns a CSV list of measurement points for the specified channel and datatype. The list returned
are those values for the specified parameters that have been measured since the last request.