Install OpenVPN Client
Grid RESTful API Start-up Guide
25
"analog-input:2": {
"objectType": "analog-input",
"objectInstance": 2,
"objectName": "OUTSIDE_TEMPERATURE",
"properties": {
"present-value": {
"propertyIdentifier": "present-value",
"value": {
"value": 39.5,
"type": "REAL"
},
"lastRead": 1513689232174,
"log": {
"enabled": true,
"keys": [
"1/analog-input:2/present-value"
]
}
}
}
}
}
},
{
"deviceInstance": 2,
"deviceName": "WeatherLink_2",
"pollInterval": 5,
"offline": false,
"objects": {
"analog-input:1": {
"objectType": "analog-input",
"objectInstance": 1,
"objectName": "INSIDE_TEMPERATURE",
"properties": {
"present-value": {
"propertyIdentifier": "present-value",
"value": {
"value": 87.9000015258789,
"type": "REAL"
},
"lastRead": 1513689232285,
"log": {
"enabled": false,
"keys": []
}
}
}
},
"analog-input:2": {
"objectType": "analog-input",
"objectInstance": 2,
"objectName": "OUTSIDE_TEMPERATURE",
"properties": {
"present-value": {
"propertyIdentifier": "present-value",
"value": {
"value": 78.19999694824219,
"type": "REAL"
},
"lastRead": 1513689232285,
"log": {
"enabled": true,
"keys": [
"2/analog-input:2/present-value"
]
}
}
}
}
}
}
],
"error": null
}
Example 3
– URL:
(HTTP POST with "deviceID" parameter specified in body)
/rest/method/fieldpop-api/getDeviceData?happn_token=eyJ0eXAiOiJKV1QiLC
Example 3
– JSON body:
{
"parameters": {
"deviceID": "gateway_1",
"deviceAPIVersion": "2"
}
}