GET hub/{serial}/state
get state of the hub
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serial |
Serial of the Hub |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
EquipmentMonitoredPool
Flipr.Web.Api.Controllers.JsonWrappers.ApplicationMQTTServerToDeviceMessageName | Description | Type | Additional information |
---|---|---|---|
stateEquipment |
Gets or sets a value indicating stateEquipment |
integer |
None. |
behavior |
Gets or sets a value indicating behavior |
string |
None. |
planning |
Gets or sets a value indicating planning |
string |
None. |
internalKeepAlive |
Gets or sets a value indicating internalKeepAlive |
integer |
None. |
messageModeAutoFiltration |
Gets or sets the message wording for the filtration in auto mode |
string |
None. |
ErrorCode |
Gets or sets the error code if there is one |
string |
None. |
ErrorMessage |
Gets or sets the error message if there is one |
string |
None. |
LastWifiReco |
Get or Set the Date when the equipment has got a wifi reconnexion |
date |
None. |
WifiRecoCounter |
Get or Set the number of wifi reconnected for a hub |
integer |
None. |
LastHubReboot |
Get or Set the Date when the equipment has got a reboot |
date |
None. |
HubRebootCounter |
Get or Set the number of reboot for a hub |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "stateEquipment": 1, "behavior": "sample string 2", "planning": "sample string 3", "internalKeepAlive": 1, "messageModeAutoFiltration": "sample string 4", "ErrorCode": "sample string 5", "ErrorMessage": "sample string 6", "LastWifiReco": "2024-10-04T12:31:36.3446527+00:00", "WifiRecoCounter": 7, "LastHubReboot": "2024-10-04T12:31:36.3446527+00:00", "HubRebootCounter": 8 }
text/html
Sample:
{"stateEquipment":1,"behavior":"sample string 2","planning":"sample string 3","internalKeepAlive":1,"messageModeAutoFiltration":"sample string 4","ErrorCode":"sample string 5","ErrorMessage":"sample string 6","LastWifiReco":"2024-10-04T12:31:36.3446527+00:00","WifiRecoCounter":7,"LastHubReboot":"2024-10-04T12:31:36.3446527+00:00","HubRebootCounter":8}