Install OpenVPN Client
Grid RESTful API Start-up Guide
17
Example 4
– POST URL:
/rest/method/fieldpop-api/getDeviceData?happn_token=eyJ0eXAiOiJKV1QiLC
Example 4
– JSON POST:
(path and dataFilter specified, but no IIoT device selector)
{
"parameters": {
"path": [
"property0",
"property1",
"events/alarm"
],
"options": {
"dataFilter": {
"name": {
"$eq": "Device_1_Profile_1"
}
}
}
}
}
Example 4
– JSON Response:
{
"message": "Call successful",
"data": {
"gateway_1": {
"data": [
{
"events": {
"alarm": false
},
"property0": 1,
"property1": 1
}
]
},
"gateway_2": {
"data": [ ]
}
},
"error": null
}