PUT api/RoomControl/setDnd?payload={payload}

<strong>put/setDnd</strong> <br /> The setDnd method is used to Activate/Deactivate the Do Not Disturb (DnD) in the room.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
payload

The encrypted payload contains JSON encoded in Hex and encrypted using RSA algorithm. The Josn structure should be: { state: "[state]", timeStamp: "[timestamp]" } statestring The mode to set the DnD to. ActivateDeactivatetimeStampintTime stamp in epoch time (UTC)

string

Required

Body Parameters

None.

Response Information

Resource Description

A JSON object to handle the success or error of the operation, on the success of the operation the JSON object will be "OK" string. <br /> If there is an error in the process, the JSON will contain the error.

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.