Put /Users/<User>/Bindings - ABB G13 User Manual

Table of Contents

Advertisement

Description
6.3.22 PUT /users/<user>/bindings
A PUT call to /users/<user>/bindings configures binding to a device.
Protected
Yes (Authentication required)
Request
PUT /users/<user>/bindings HTTP/1.1
Authorization: Basic XXXXXXXXXXXXXXX=
Content-Type: application/json; charset=UTF-8
Content-Length: 57
{"name":"harsha","serial":"ABB_3","access":"Config-
ure"}
Examples
Response
2CMC489001M0201
Revision: A
• bindings [Array of Objects]
serial [String 17] - Serial number of device.
access [String] - Access can be 'Configure' or 'View Only'
Notes
Gateway bindings can be derived against gateway deviceid.
500 Internal Server Error
HTTP/1.1 500 Internal Server Error
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 64
Content-Type: application/json
{
"status":"error",
"des":"received invalid response from COSEM."
}
• https://192.168.1.12/users/harsha/bindings
200 OK
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
{"status":"success"}
86
JSON Communication
User Manual
G13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents