POST SaveBoxUnitRegulation

Request Information

URI Parameters

None.

Body Parameters

RegulationSetRequest
NameDescriptionTypeAdditional information
energyBoxUnitId

globally unique identifier

None.

statusValue

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "energyBoxUnitId": "0c246da5-cfcd-40d4-b4e8-542c5ebab68c",
  "statusValue": 2
}

application/xml, text/xml

Sample:
<RegulationSetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EnerSave.Alert.API.Models">
  <energyBoxUnitId>0c246da5-cfcd-40d4-b4e8-542c5ebab68c</energyBoxUnitId>
  <statusValue>2</statusValue>
</RegulationSetRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>