Query
Make requests to query iZone device states.
Query Device States Command
HTTPS Request.
POST https://api.izone.com.au/dev
Request Body JSON:
Key | Type | Description |
---|---|---|
requestId | string | A UUID string to identify request session |
requestType | string | Must be Query |
componentId | string | A componentId to identify an iZone component |
An example of response would be like:
{
"requestId": "28d45cb2-ff5a-4d58-a4c8-efb751ded699",
"requestType": "Query",
"response": {
"component":{
"componentId":"123456798_izone_systemsettings_0",
"datagram":{
"SysOn":1,
"SysMode":2,
"SysFan":3,
...
}
}
}
}
Where response is componentId:componentDatagram
Refer to Reference the detail datagram of different types of iZone components.