38
Integration in bestehende Systeme
“number” : 1,
“state” : 0
}
]
},
“system” :
{
“time” :
{
“time” : “2016 - 09 - 09,
09 : 42 : 54”
},
“diagnosis” : [
{
“time” : “06.09.2016 09 : 42 : 54”,
“msg” : “Gerätestatus : OK”
}
],
“diagarchive” : [
{
“time” : “06.09.2016 09 : 42 : 54”,
“msg” : “Gerätestatus : OK”
}
]
}
}
To query individual areas or points, you can formulate the request more detailed:
http://<ip-adresse>/rest/json/iostate/input
This causes the Web-IO to return the status of all inputs:
{
“iostate” :
{
“input” : [
{
“number” : 0,
“state” : 0
},
{
“number” : 1,
“state” : 0
}
]
}
}
The request
http://<ip-adresse>/rest/json/iostate/input/0
can be used to query the state of input 0.