MSA Grid RESTful API Startup Manual page 19

Table of Contents

Advertisement

SetDeviceData (System View)
Description: Set the data available under the specified device and data path.
HTTP Verb: POST
URL:
/rest/method/fieldpop-api/setDeviceData
Query String Parameters:
happn_token - token obtained from the login request.
HTTP Headers:
Content-Type -
application/json
Body Parameters (JSON):
parameters - object containing the following fields:
o
deviceID - the IIoT gateway ID (see Section 3.1.1)
o
path - the path of the value to set; this must be done at the leaf level
"deviceName/propertyName"
o
value - the value to set
Example Body Parameters:
{
"parameters": {
"deviceID": "blazescowl_VygDWeqmz",
"path": "BAC_IP_EVG_1_/BoilerModel",
"value": 50
}
}
Example JSON Response:
{
"message": "Call successful",
"data": null,
"error": null
}
Grid RESTful API Start-up Guide
Install OpenVPN Client
19

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Grid RESTful API and is the answer not in the manual?

Questions and answers

Table of Contents