POST hub/{serial}/Manual/{state}

Set state of the hub manually

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serial

Serial of the Hub

string

Required

state

state to set

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

Flipr.Web.Api.Controllers.JsonWrappers.ApplicationMQTTServerToHubMessageRetour
NameDescriptionTypeAdditional information
SendToDevice

bool send to the device ?

boolean

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.

Response Formats

application/json, text/json

Sample:
{
  "SendToDevice": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3"
}

text/html

Sample:
{"SendToDevice":true,"ErrorCode":"sample string 2","ErrorMessage":"sample string 3"}