Hello,
Using Workflow to fetch data from my Cloud once every 10 minutes. It is a GET.
Data is coming fine and using now Virtual Button, HTTP, Debug, Store Value and on the same level Email.
I have no idea on how to get my JSON response and store it or send it to the email. Do not understand what is the format.
For instance if I want to save all the “temp” from all arrays, what is the format?
Sorry I am not to Kean in using JSON yet.
Following is my response:
{
"time": "2016-04-11T14:34:04.584Z",
"data": {},
"applicationId": "xxxx",
"triggerId": "xxxxx",
"triggerType": "virtualButton",
"flowId": "xxxx",
"globals": {},
"body": {
"body": {
"body": [
{
"version": [
"Cloud, xxx 0.5"
]
},
{
"lon": "10.88238",
"temp": "20.7",
"idsensor": "S2",
"date": "Mon Apr 11 14:33:46 UTC 2016",
"lat": "45.97111"
},
{
"lon": "10.97",
"temp": "22.0",
"idsensor": "S4",
"date": "Mon Apr 11 14:30:35 UTC 2016",
"lat": "50.019"
},
{
"lon": "3.53",
"temp": "21.8",
"idsensor": "S5",
"date": "Mon Apr 11 14:28:19 UTC 2016",
"lat": "50.37"
},
{
"lon": "3.93",
"temp": "30.8",
"idsensor": "Test",
"date": "Mon Jan 18 11:01:11 UTC 2016",
"lat": "53.9922"
}
],
"headers": {
"content-type": "text/plain; charset=iso-8859-1",
"date": "Mon, 11 Apr 2016 14:34:04 GMT",
"server": "Google Frontend",
"content-length": "432",
"connection": "close"
},
"statusCode": 200
}
}
}