MSA Grid RESTful API Startup Manual page 16

Table of Contents

Advertisement

Example 2 – JSON Response:
{
"message": "Call successful",
"data": [
{
"parameters": {
"node_id": "1"
},
"type": "BAC_IP_Falcon_Hydronic",
"mapping": "BAC_IP_Falcon_Hydronic",
"name": "BAC_IP_Falcon_Hydronic_1_",
"path":
"/profileView/devices/BAC_IP_Falcon_Hydronic_1_",
"node": "Dev_1",
"events": {
"alarm": false,
"trouble": false,
"warning": false
},
"activeEvents": {},
"address": "1",
"location": "R&D Lab Unit 1",
"status_class": "status_normal",
"status": "Normal",
"oldStatus": "Normal",
"BOILERLEADLAGSETPOINTDEGC": 58.9
},
Example 3 – POST URL:
/rest/method/fieldpop-api/getDeviceData?happn_token=eyJ0eXAiOiJKV1QiLC
Example 3 – JSON POST: (path specified, but no IIoT device selector or dataFilter)
{
"parameters": {
"path": [
"name",
"type",
"status",
"BOILERLEADLAGSETPOINTDEGC",
"BURNER_ENABLE"
]
}
}
Example 3 – JSON Response:
{
"message": "Call successful",
"data": {
"gateway_1": {
"data": [
{
"type": "BAC_IP_Falcon_Hydronic",
"name": "BAC_IP_Falcon_Hydronic_1_",
"status": "Normal",
"BOILERLEADLAGSETPOINTDEGC": 58.9
},
{
"type": "BAC_IP_Falcon_Steam",
"name": "BAC_IP_Falcon_Steam_2_",
"status": "Normal",
"BURNER_ENABLE": 1
}
]
},
"/profileView/devices/BAC_IP_Falcon_Steam_2_",
],
"error": null
}
},
"error": null
}
Grid RESTful API Start-up Guide
Install OpenVPN Client
{
"parameters": {
"node_id": "2"
},
"type": "BAC_IP_Falcon_Steam",
"mapping": "BAC_IP_Falcon_Steam",
"name": "BAC_IP_Falcon_Steam_2_",
"path":
"node": "Dev_2",
"events": {
"alarm": false,
"trouble": false,
"warning": false
},
"activeEvents": {},
"address": "2",
"status_class": "status_normal",
"status": "Normal",
"oldStatus": "Normal",
"BURNER_ENABLE": 1
}
"gateway_2": {
"data": [
{
"type": "BAC_IP_Falcon_Hydronic",
"name": "BAC_IP_Falcon_Hydronic_1_",
"status": "Normal",
"BOILERLEADLAGSETPOINTDEGC": 58.9
},
{
"type": "BAC_IP_Falcon_Steam",
"name": "BAC_IP_Falcon_Steam_2_",
"status": "Alarm",
"BURNER_ENABLE": 1
}
]
}
16

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

Subscribe to Our Youtube Channel

Table of Contents