MSA Grid RESTful API Startup Manual page 30

Table of Contents

Advertisement

CallDeviceMethod – GetBACnetDeviceInfo (v.1)
Description: Get BACnet device info by sending a 'who-is' request out on BACnet.
HTTP Verb: GET or POST
URL:
/rest/method/fieldpop-api/callDeviceMethod
Parameters:
happn_token – token obtained from the login request.
deviceID – the IIoT gateway ID (see Section 3.1.1).
methodName –
getBACnetDeviceInfo
"
deviceInstance – the BACnet device instance.
Example – URL: (HTTP POST)
/rest/method/fieldpop-api/callDeviceMethod?happn_token=eyJ0eXAiOiJKV1QiLC
Example – JSON body:
{
"parameters": {
"deviceID": "gateway_1",
"methodName": "getBACnetDeviceInfo",
"deviceInstance": 200
}
}
Example – JSON Response:
{
"message": "Call successful",
"data": {
"DNET": 59915,
"MAC": "c0a86409bac0"
},
"error": null
}
"
Grid RESTful API Start-up Guide
Install OpenVPN Client
30

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