Install OpenVPN Client
Grid RESTful API Start-up Guide
35
"country": "South Africa",
"postalCode": "1926"
},
"installer": {
"installationDate": "2019-11-22T14:56:19.131Z",
"name": "David Johnson",
"company": "Sierra Monitor Corporation",
"phone": "+1 555 263 14 49",
"email": "[email protected]"
}
},
"packageInfo": {
"productName": "System View Template",
"customerName": "SMC",
"productVersion": "0.4.1",
"deviceAPIVersion": [
"1.2.3",
"2.3.4"
],
"moduleVersions": {
"ae": {
"name": "@smc/field-pop",
"version": "3.2.0"
},
"pe": {
"Build_Revision": "unknown",
"Driver_Configuration": "unknown",
"FieldServer_Model": "unknown",
"Carrier_Type": "unknown"
},
"fsweb": {
"name": "unknown",
"version": "unknown"
},
"os": "unknown"
}
}
},
{
"company": "SMC",
"description": "---",
"deviceId": "cybersparrow_NkWMIrKbyQ",
"location": "Access Not Permitted",
"macAddress": "00:50:56:C0:00:01",
"name": "---",
"oem": "unknown",
"state": "Alarm",
"packageInfo": {
"productName": "unknown",
"customerName": "unknown",
"productVersion": "unknown",
"moduleVersions": {
"ae": {
"name": "@smc/field-pop",
"version": "3.2.0"
},
"pe": {
"Build_Revision": "unknown",
"Driver_Configuration": "unknown",
"FieldServer_Model": "unknown",
"Carrier_Type": "unknown"
},
"fsweb": {
"name": "unknown",
"version": "unknown"
},
"os": "unknown"
}
}
}
],
"error": null
}
Optional Fields:
Please note that the "installationInfo" parameter may not be present for some Gateways. All the fields
under this parameter are optional."
Example 2
– GET URL:
(list parameter set)
/rest/method/fieldpop-api/getUserDevices?happn_token=eyJ0eXAiOiJKV1QiLC&list=true
Example 2
– JSON Response:
{
"message": "Call successful",
"data": [
"flickerpalm_N1ytNF-y7",
"cybersparrow_NkWMIrKbyQ"
],
"error": null
}
Example 3
– POST URL:
(list and filter specified)
/rest/method/fieldpop-api/getUserDevices?happn_token=eyJ0eXAiOiJKV1QiLC