Get /Users - ABB G13 User Manual

Table of Contents

Advertisement

JSON Communication
Response

6.3.17 GET /users

A GET call to /users returns list of users of gateway.
Protected
Yes (Authentication required)
Request
GET /users HTTP/1.1
Authorization: Basic XXXXXXXXXXXXXXX=
Example
G13
User Manual
• 200 Success
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
To read 'VOLTAGE' of L1 , the response is as below:
{ "ABB01":["200.0","V"], "ABB02":["200.0","V"] }
To read POWRFACTOR_L1, the response is as below:
{ "ABB01": ["0.9"], "ABB02": ["1.0"] }
Description
ABB01 or ABB02 is device serial name. Each device contains array
values[value,unit] for the given parameter to read.
* value[String] - holds the value of the given parameter to read.
* unit[String] - holds the unit of given parameter to read.
• 500 Internal Server Error
HTTP/1.1 500 Internal Server Error
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 63
Content-Type: application/json
{
"status":"error",
"des":"Inetrnal Server Error."
}
• https://192.168.1.12/users
81
2CMC489001M0201
Revision: A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents