PUT hub/{serial}/mode/{behavior}
Activate mode auto / planning / manual
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serial |
Serial of the hub |
string |
Required |
behavior |
Mode to activate can be manual / auto or planning |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
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
{ "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-11-21T09:17:24.0712194+00:00", "WifiRecoCounter": 7, "LastHubReboot": "2024-11-21T09:17:24.0712194+00:00", "HubRebootCounter": 8 }
text/html
{"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-11-21T09:17:24.0712194+00:00","WifiRecoCounter":7,"LastHubReboot":"2024-11-21T09:17:24.0712194+00:00","HubRebootCounter":8}