Install OpenVPN Client
Grid RESTful API Start-up Guide
20
2.3.4 Device Type: BACnet Explorer NG
Please note that the 'BACnet Explorer NG' product is obsolete. Contact support to upgrade
your product to a 'BACnet IoT Gateway'
– see
Section
GetDeviceData (BACnet Explorer NG)
Description:
Retrieve the data available under the specified device and data path.
HTTP Verb:
POST
URL:
/rest/method/fieldpop-api/getDeviceData
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
o
path
- the path of the value to get (must be 3 levels deep:
"deviceInstance/objectType:objectInstance/propertyIdentifier"
)
o
options
- object containing the following fields:
▪
asn1
- must be set to
true
since default representation might change in the future
Example Body Parameters:
{
"parameters": {
"deviceID": "bigelf_rkr",
"path": "200/analog-value:0/present-value",
"options": {
"asn1": true
}
}
}
Example JSON Response:
{
"message": "Call successful",
"data": {
"value": 28,
"type": "REAL"
},
"error": null
}