![ABB SCU200 Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/abb/scu200/scu200_user-manual_3320180067.webp)
67
SCU200
INSITE ENERGY MANAGEMENT SYSTEM
• REST API
Rest API allows user to get online/historical values directly from Control Unit without accessing to the
WebUI. It can be disabled/enabled by administrator in this section: to access data through Rest API an
authorization token must be provided in Authorization header in every request. The token has to be
generated on this page or administrator credentials can be used.
The highest number that can be get properly via Rest API is 2⁵³-1 (9007199254740991)
Warning: The REST API is enabled by default, if you are not using it, it can be disabled.
Authorization header must be sent for each REST API request
Authorization: <restApiToken>
or
Authorization: Basic YWRtaW46YWRtaW4=
(YWRtaW46YWRtaW4= it encoded token from admin credentials - base64 username:password)
Available Rest Api endpoints:
GET
/api/v1/system-information
Endpoint returns system information which can be used for diagnosis purpose
Response:
{
“softwareVersion”: “1.0.0”,
“ip”: “192.168.1.200”,
“hostname”: “scu200hs”,
“deviceTime”: 1669793245
}
GET
/api/v1/metadata
or
/api/v1/metadata?object_id=X
For getting metadata for single device
Endpoint returns system devices metadata which contains all configured devices with available registers.
POST
/api/v1/data
The endpoint allows you to get online and historical data from SCU200.
Variables must be provided in a JSON body of a POST request. Variables can be read from device
descriptors or metadata endpoint. Object ids can be read from metadata endpoint.
{
//”data”: array of objects, it is possible to query at once for multiple data
“data”: [
{
Содержание SCU200
Страница 1: ...SCU200 User manual 1 0 1 INSITE ENERGY MANAGEMENT SYSTEM SCU200 User manual ...
Страница 2: ......
Страница 77: ...77 SCU200 INSITE ENERGY MANAGEMENT SYSTEM ...